[sword-svn] r2076 - trunk/src/modules/filters
scribe at www.crosswire.org
scribe at www.crosswire.org
Sat Sep 8 18:20:12 MST 2007
Author: scribe
Date: 2007-09-08 18:20:11 -0700 (Sat, 08 Sep 2007)
New Revision: 2076
Modified:
trunk/src/modules/filters/utf16utf8.cpp
Log:
fixed bug in utf16 where it was looking for in/out
modifier but shouldn't have been
Modified: trunk/src/modules/filters/utf16utf8.cpp
===================================================================
--- trunk/src/modules/filters/utf16utf8.cpp 2007-09-04 07:10:14 UTC (rev 2075)
+++ trunk/src/modules/filters/utf16utf8.cpp 2007-09-09 01:20:11 UTC (rev 2076)
@@ -23,9 +23,6 @@
int len;
unsigned long uchar;
unsigned short schar;
- if ((unsigned long)key < 2) // hack, we're en(1)/de(0)ciphering
- return (char)-1;
-
len = 0;
from = (unsigned short*) text.c_str();
while (*from) {
More information about the sword-cvs
mailing list