Changeset 1907 in orxonox.OLD for orxonox/branches/gui/console/orxonox_console_log.cc
- Timestamp:
- Jun 1, 2004, 4:22:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/gui/console/orxonox_console_log.cc
r1890 r1907 55 55 void OrxonoxConsoleLog::appendText(char* append) 56 56 { 57 char* buffer = new char;58 sprintf (buffer, "%s\n", append);59 57 if (verbose>=1) 60 printf ("appending %s\n", append); 61 gtk_text_buffer_insert_at_cursor (log, buffer, -1); 58 printf ("appending: %s\n", append); 59 strcat (append,"\n"); 60 gtk_text_buffer_insert_at_cursor (log, append, -1); 62 61 return; 63 62 }
Note: See TracChangeset
for help on using the changeset viewer.