Index: src/mgr/swmgr.cpp =================================================================== --- src/mgr/swmgr.cpp (revision 3397) +++ src/mgr/swmgr.cpp (working copy) @@ -1017,14 +1017,20 @@ int pos = 0; //used for position of final / in AbsoluteDataPath, but also set to 1 for modules types that need to strip module name if (!stricmp(driver, "RawLD")) { bool caseSensitive = ((entry = section.find("CaseSensitiveKeys")) != section.end()) ? (*entry).second == "true": false; - bool strongsPadding = ((entry = section.find("StrongsPadding")) != section.end()) ? (*entry).second == "true": true; + bool strongsPadding = false; + if (section.has("Feature", "HebrewDef") || section.has("Feature", "GreekDef")) { + strongsPadding = ((entry = section.find("StrongsPadding")) != section.end()) ? (*entry).second == "true": true; + } newmod = new RawLD(datapath.c_str(), name, description.c_str(), 0, enc, direction, markup, lang.c_str(), caseSensitive, strongsPadding); pos = 1; } if (!stricmp(driver, "RawLD4")) { bool caseSensitive = ((entry = section.find("CaseSensitiveKeys")) != section.end()) ? (*entry).second == "true": false; - bool strongsPadding = ((entry = section.find("StrongsPadding")) != section.end()) ? (*entry).second == "true": true; + bool strongsPadding = false; + if (section.has("Feature", "HebrewDef") || section.has("Feature", "GreekDef")) { + strongsPadding = ((entry = section.find("StrongsPadding")) != section.end()) ? (*entry).second == "true": true; + } newmod = new RawLD4(datapath.c_str(), name, description.c_str(), 0, enc, direction, markup, lang.c_str(), caseSensitive, strongsPadding); pos = 1; } @@ -1033,7 +1039,10 @@ SWCompress *compress = 0; int blockCount; bool caseSensitive = ((entry = section.find("CaseSensitiveKeys")) != section.end()) ? (*entry).second == "true": false; - bool strongsPadding = ((entry = section.find("StrongsPadding")) != section.end()) ? (*entry).second == "true": true; + bool strongsPadding = false; + if (section.has("Feature", "HebrewDef") || section.has("Feature", "GreekDef")) { + strongsPadding = ((entry = section.find("StrongsPadding")) != section.end()) ? (*entry).second == "true": true; + } misc1 = ((entry = section.find("BlockCount")) != section.end()) ? (*entry).second : (SWBuf)"200"; blockCount = atoi(misc1.c_str()); blockCount = (blockCount) ? blockCount : 200; Index: src/modules/lexdict/rawld4/rawld4.cpp =================================================================== --- src/modules/lexdict/rawld4/rawld4.cpp (revision 3397) +++ src/modules/lexdict/rawld4/rawld4.cpp (working copy) @@ -81,7 +81,7 @@ char *buf = new char [ strlen(*key) + 6 ]; strcpy(buf, *key); - strongsPad(buf); + if (strongsPad) strongsPad(buf); entryBuf = ""; if (!(retval = findOffset(buf, &start, &size, away))) {