Alexandre Julliard : winedump: Fixed formatting of timestamps.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 7 15:02:33 CST 2007


Module: wine
Branch: master
Commit: 0da06dba482a6f00e32ffd38440ee5e123cd6770
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0da06dba482a6f00e32ffd38440ee5e123cd6770

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Mar  7 21:33:51 2007 +0100

winedump: Fixed formatting of timestamps.

---

 tools/winedump/dump.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/winedump/dump.c b/tools/winedump/dump.c
index 25ae22f..9c8f2ff 100644
--- a/tools/winedump/dump.c
+++ b/tools/winedump/dump.c
@@ -105,7 +105,6 @@ const char *get_time_str(unsigned long _t)
      * I wonder if Wine isn't broken wrt to GMT settings...
      */
     if (len && str[len-1] == '\n') len--;
-    if (len >= sizeof(buf)) len = sizeof(buf) - 1;
     buf = dump_want_n(len + 1);
     if (buf)
     {




More information about the wine-cvs mailing list