OSDN Git Service

Fix unifile code to initialize txtstats.nlosses (see comments in BUG [ 828924 ])
authorLaurent Ganier <laoran@users.sourceforge.net>
Fri, 24 Oct 2003 07:15:03 +0000 (07:15 +0000)
committerLaurent Ganier <laoran@users.sourceforge.net>
Fri, 24 Oct 2003 07:15:03 +0000 (07:15 +0000)
Src/Common/UniFile.h
Src/readme.txt

index d0728e1..cf09064 100644 (file)
@@ -49,7 +49,7 @@ public:
                int nzeros;
                int nlosses;
                txtstats() { clear(); }
-               void clear() { ncrs = nlfs = ncrlfs = nzeros = 0; }
+               void clear() { ncrs = nlfs = ncrlfs = nzeros = nlosses = 0; }
        };
        virtual const txtstats & GetTxtStats() const = 0;
 };
index 8520f5f..c84b254 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-24 Laoran
+ Fix unifile code to initialize txtstats.nlosses (see comments in BUG [ 828924 ])
+  common: UniFile.h
+
 2003-10-23 Perry
  PATCH: [ 828619 ] Prevent closing dir doc whilst scanning
   WinMerge: DirDoc.cpp DirDoc.h