Changeset 1266 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 04/04/02 13:17:33 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MLog.cc
r1080 r1266 142 142 if (fDevice&eGui && fgui) 143 143 { 144 char *dummy = new char[len +1];145 memcpy(dummy, fBase, len );146 *(dummy+len )='\0';144 char *dummy = new char[len]; 145 memcpy(dummy, fBase, len-1); 146 *(dummy+len-1)='\0'; 147 147 fgui->AddEntry(dummy, fGuiLineId); 148 148 fgui->SetTopEntry(fGuiLineId++);
Note:
See TracChangeset
for help on using the changeset viewer.