[sword-cvs] sword/src/modules/filters unicodertf.cpp,1.13,1.14
sword@www.crosswire.org
sword@www.crosswire.org
Sat, 5 Apr 2003 01:49:19 -0700
Update of /usr/local/cvsroot/sword/src/modules/filters
In directory www:/tmp/cvs-serv24704
Modified Files:
unicodertf.cpp
Log Message:
fixed UTF-8 decoding bug (for real this time)
Index: unicodertf.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/unicodertf.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** unicodertf.cpp 5 Apr 2003 08:04:46 -0000 1.13
--- unicodertf.cpp 5 Apr 2003 08:49:17 -0000 1.14
***************
*** 43,47 ****
from2[0] <<= 1;
int subsequent;
! for (subsequent = 1; (from[0] & 128) && (subsequent < 7); subsequent++) {
from2[0] <<= 1;
from2[subsequent] = from[subsequent];
--- 43,47 ----
from2[0] <<= 1;
int subsequent;
! for (subsequent = 1; (from2[0] & 128) && (subsequent < 7); subsequent++) {
from2[0] <<= 1;
from2[subsequent] = from[subsequent];