Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5212 in orxonox.OLD for trunk/src/lib/shell


Ignore:
Timestamp:
Sep 21, 2005, 8:07:51 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some little errors corrected via Valgrind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_buffer.cc

    r5210 r5212  
    157157
    158158   // adding all the new Lines
    159   while (newLineBegin < inputEnd)
     159  while (newLineBegin < inputEnd )
    160160  {
    161161    newLineEnd = strchr(newLineBegin, '\n');
     
    165165    {
    166166//       newLineEnd = newLineBegin + strlen(newLineBegin);
    167       strcpy(this->keepBufferArray, newLineBegin);
     167      strcat(this->keepBufferArray, newLineBegin);
    168168      this->keepBuffer = true;
    169169      break;
Note: See TracChangeset for help on using the changeset viewer.