eliot-dev
[Top][All Lists]
Advanced

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

[Eliot-dev] eliot/dic encoding.cpp [cppdic]


From: eliot-dev
Subject: [Eliot-dev] eliot/dic encoding.cpp [cppdic]
Date: Thu, 06 Dec 2007 15:09:52 +0000

CVSROOT:        /cvsroot/eliot
Module name:    eliot
Branch:         cppdic
Changes by:     Olivier Teulière <ipkiss>      07/12/06 15:09:52

Modified files:
        dic            : encoding.cpp 

Log message:
        convertAndPad(): Leave the function sooner if there is a non printable 
character

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/dic/encoding.cpp?cvsroot=eliot&only_with_tag=cppdic&r1=1.1.2.7&r2=1.1.2.8

Patches:
Index: encoding.cpp
===================================================================
RCS file: /cvsroot/eliot/eliot/dic/Attic/encoding.cpp,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -b -r1.1.2.7 -r1.1.2.8
--- encoding.cpp        6 Dec 2007 15:06:05 -0000       1.1.2.7
+++ encoding.cpp        6 Dec 2007 15:09:52 -0000       1.1.2.8
@@ -163,6 +163,7 @@
             // XXX: Should we throw an exception instead? Just ignore the 
problem?
             cerr << ss.str() << endl;;
             //throw DicException(ss.str());
+            return convertToMb(iWstr);
         }
         width += n;
     }




reply via email to

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