winedump: Fixed formatting of timestamps.

This commit is contained in:
Alexandre Julliard 2007-03-07 21:33:51 +01:00
parent d7ea855a3e
commit 0da06dba48
1 changed files with 0 additions and 1 deletions

View File

@ -105,7 +105,6 @@ const char *get_time_str(unsigned long _t)
* I wonder if Wine isn't broken wrt to GMT settings... * I wonder if Wine isn't broken wrt to GMT settings...
*/ */
if (len && str[len-1] == '\n') len--; if (len && str[len-1] == '\n') len--;
if (len >= sizeof(buf)) len = sizeof(buf) - 1;
buf = dump_want_n(len + 1); buf = dump_want_n(len + 1);
if (buf) if (buf)
{ {