Changeset 2362 for trunk/jons-gtk-gui

Show
Ignore:
Timestamp:
11/24/00 17:00:25 (8 years ago)
Author:
emojon
Message:

Ensure it's a null-terminated string

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jons-gtk-gui/src/convo.cpp

    r2361 r2362  
    417417            struct tm *_tm = localtime(&message_time); 
    418418            strftime(szTime, 26, timestamp_format, _tm); 
     419            szTime[25] = '\0'; 
    419420        } 
    420421