[sword-svn] r3106 - trunk/utilities/diatheke
chrislit at crosswire.org
chrislit at crosswire.org
Tue Mar 11 23:10:25 MST 2014
Author: chrislit
Date: 2014-03-11 23:10:24 -0700 (Tue, 11 Mar 2014)
New Revision: 3106
Modified:
trunk/utilities/diatheke/diathekemgr.cpp
Log:
fixed warning message when ICU is disabled
Modified: trunk/utilities/diatheke/diathekemgr.cpp
===================================================================
--- trunk/utilities/diatheke/diathekemgr.cpp 2014-03-12 05:55:15 UTC (rev 3105)
+++ trunk/utilities/diatheke/diathekemgr.cpp 2014-03-12 06:10:24 UTC (rev 3106)
@@ -76,13 +76,14 @@
void DiathekeMgr::AddRenderFilters(SWModule *module, ConfigEntMap §ion)
{
SWBuf lang;
- bool rtl;
ConfigEntMap::iterator entry;
lang = ((entry = section.find("Lang")) != section.end()) ? (*entry).second : (SWBuf)"en";
+
+#ifdef _ICU_
+ bool rtl;
rtl = ((entry = section.find("Direction")) != section.end()) ? ((*entry).second == "RtoL") : false;
-#ifdef _ICU_
if (shape) {
module->addRenderFilter(arshaping);
}
More information about the sword-cvs
mailing list