Commit 0da06dba authored by Alexandre Julliard's avatar Alexandre Julliard

winedump: Fixed formatting of timestamps.

parent d7ea855a
...@@ -105,7 +105,6 @@ const char *get_time_str(unsigned long _t) ...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment