[sword-svn] r73 - trunk/src/gui
bdrake at www.crosswire.org
bdrake at www.crosswire.org
Sun Dec 23 09:24:26 MST 2007
Author: bdrake
Date: 2007-12-23 09:24:25 -0700 (Sun, 23 Dec 2007)
New Revision: 73
Modified:
trunk/src/gui/SimpleNavigator.cpp
Log:
'if' statement in url clicked function altered to 'else if' : this error caused raw messagebox to pop up on url click if footnote, strongs or morphs had been clicked
Modified: trunk/src/gui/SimpleNavigator.cpp
===================================================================
--- trunk/src/gui/SimpleNavigator.cpp 2007-12-23 05:46:22 UTC (rev 72)
+++ trunk/src/gui/SimpleNavigator.cpp 2007-12-23 16:24:25 UTC (rev 73)
@@ -294,7 +294,7 @@
MessageBox(0, strtowstr(mod->StripText()), L"Morph tags", MB_OK);
}
// X-Ref MessageBox
- if (strstr(t, "scripRef")) {
+ else if (strstr(t, "scripRef")) {
URL footnote(t); // t is char* to URL string
SWBuf module = footnote.getParameterValue("module"); // very unlikely to have this
SWBuf key = footnote.getParameterValue("value");
More information about the sword-cvs
mailing list