[sword-svn] r3159 - in branches/sword-1-7-x: . src/modules/filters

greg.hellings at crosswire.org greg.hellings at crosswire.org
Wed Apr 16 20:59:02 MST 2014


Author: greg.hellings
Date: 2014-04-16 20:59:02 -0700 (Wed, 16 Apr 2014)
New Revision: 3159

Modified:
   branches/sword-1-7-x/
   branches/sword-1-7-x/src/modules/filters/teirtf.cpp
Log:
Merging r3086 - Fix for API-159



Property changes on: branches/sword-1-7-x
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk:2989-2991,2997,3001-3004,3006,3010-3013,3015-3020,3026-3039,3045-3046,3048,3056,3058-3062,3067,3073,3077-3081,3085
   + /trunk:2989-2991,2997,3001-3004,3006,3010-3013,3015-3020,3026-3039,3045-3046,3048,3056,3058-3062,3067,3073,3077-3081,3085-3086

Modified: branches/sword-1-7-x/src/modules/filters/teirtf.cpp
===================================================================
--- branches/sword-1-7-x/src/modules/filters/teirtf.cpp	2014-04-17 03:57:58 UTC (rev 3158)
+++ branches/sword-1-7-x/src/modules/filters/teirtf.cpp	2014-04-17 03:59:02 UTC (rev 3159)
@@ -114,6 +114,16 @@
 			}
 		}
 
+ 		// <orth>
+ 		else if (!strcmp(tag.getName(), "orth")) {
+ 			if ((!tag.isEndTag()) && (!tag.isEmpty())) {
+ 				buf += "{\\b1 ";
+ 			}
+ 			else if (tag.isEndTag()) {
+ 			        buf += "}";
+ 			}
+ 		}
+
 		// <div>
 		else if (!strcmp(tag.getName(), "div")) {
 




More information about the sword-cvs mailing list