diff options
Diffstat (limited to 'utilities/diatheke/diathekemgr.cpp')
-rw-r--r-- | utilities/diatheke/diathekemgr.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/utilities/diatheke/diathekemgr.cpp b/utilities/diatheke/diathekemgr.cpp index a64b570..aa79fcf 100644 --- a/utilities/diatheke/diathekemgr.cpp +++ b/utilities/diatheke/diathekemgr.cpp @@ -2,7 +2,7 @@ * * diathekemgr.cpp - DiathekeMgr * - * $Id: diathekemgr.cpp 2833 2013-06-29 06:40:28Z chrislit $ + * $Id: diathekemgr.cpp 3167 2014-04-17 04:12:12Z greg.hellings $ * * Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society @@ -76,13 +76,14 @@ DiathekeMgr::~DiathekeMgr() 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"; - rtl = ((entry = section.find("Direction")) != section.end()) ? ((*entry).second == "RtoL") : false; #ifdef _ICU_ + bool rtl; + rtl = ((entry = section.find("Direction")) != section.end()) ? ((*entry).second == "RtoL") : false; + if (shape) { module->addRenderFilter(arshaping); } |