[sword-svn] r3637 - trunk/bindings

scribe at crosswire.org scribe at crosswire.org
Tue May 28 16:15:14 MST 2019


Author: scribe
Date: 2019-05-28 16:15:14 -0700 (Tue, 28 May 2019)
New Revision: 3637

Modified:
   trunk/bindings/flatapi.cpp
Log:
Moved toUpperUTF8 logic out of BibleSync ifdef

Modified: trunk/bindings/flatapi.cpp
===================================================================
--- trunk/bindings/flatapi.cpp	2019-05-28 18:56:29 UTC (rev 3636)
+++ trunk/bindings/flatapi.cpp	2019-05-28 23:15:14 UTC (rev 3637)
@@ -118,7 +118,6 @@
 using std::string;
 BibleSync *bibleSync = 0;
 org_biblesync_MessageReceivedCallback bibleSyncListener = 0;
-org_crosswire_sword_StringMgr_toUpperUTF8 toUpperUTF8 = 0;
 
 void bibleSyncCallback(char cmd, string pkt_uuid, string bible, string ref, string alt, string group, string domain, string info, string dump) {
 SWLog::getSystemLog()->logDebug("bibleSync callback msg: %c; pkt_uuid: %s; bible: %s; ref: %s; alt: %s; group: %s; domain: %s; info: %s; dump: %s", cmd, pkt_uuid.c_str(), bible.c_str(), ref.c_str(), alt.c_str(), group.c_str(), domain.c_str(), info.c_str(), dump.c_str());
@@ -337,6 +336,8 @@
 	}
 };
 
+org_crosswire_sword_StringMgr_toUpperUTF8 toUpperUTF8 = 0;
+
 class FlatStringMgr : public StringMgr {
 public:
 	virtual char *upperUTF8(char *buf, unsigned int maxLen = 0) const {




More information about the sword-cvs mailing list