eliot-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Eliot-dev] eliot/dic encoding.cpp


From: Olivier Teulière
Subject: [Eliot-dev] eliot/dic encoding.cpp
Date: Wed, 19 May 2010 19:28:26 +0000

CVSROOT:        /cvsroot/eliot
Module name:    eliot
Changes by:     Olivier Teulière <ipkiss>       10/05/19 19:28:26

Modified files:
        dic            : encoding.cpp 

Log message:
        Fixed an encoding bug on Windows

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/dic/encoding.cpp?cvsroot=eliot&r1=1.13&r2=1.14

Patches:
Index: encoding.cpp
===================================================================
RCS file: /cvsroot/eliot/eliot/dic/encoding.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- encoding.cpp        29 Jan 2010 21:46:13 -0000      1.13
+++ encoding.cpp        19 May 2010 19:28:26 -0000      1.14
@@ -354,7 +354,7 @@
                           const string &iContext)
 {
 #ifdef WIN32
-    if (iBuffer == NULL || *iBuffer == '\0')
+    if (iBufSize == 0 || iBuffer == NULL || *iBuffer == '\0')
     {
         return 0;
     }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]