[sword-cvs] sword/src/modules/filters gbfrtf.cpp,1.34,1.35

sword@www.crosswire.org sword@www.crosswire.org
Wed, 17 Sep 2003 19:21:34 -0700


Update of /usr/local/cvsroot/sword/src/modules/filters
In directory www:/tmp/cvs-serv23314

Modified Files:
	gbfrtf.cpp 
Log Message:
adding <FNCourier> support for RTF

Index: gbfrtf.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/gbfrtf.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- gbfrtf.cpp	27 Jun 2003 06:13:16 -0000	1.34
+++ gbfrtf.cpp	18 Sep 2003 02:21:32 -0000	1.35
@@ -179,9 +179,10 @@
 					continue;
 				case 'N':
 					text += '{';
-					   if (!strnicmp(token+2, "Symbol", 6)) {
-						   text += "\\f7 ";
-					}
+					if (!strnicmp(token+2, "Symbol", 6))
+						text += "\\f7 ";
+                                        if (!strnicmp(token+2, "Courier", 7))
+						text += "\\f8 ";
 					continue;
 				case 'n':
 					text += '}';