winedump: Fixed formatting of timestamps.
This commit is contained in:
parent
d7ea855a3e
commit
0da06dba48
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue