[sword-cvs] sword/src/modules/filters gbfrtf.cpp,1.28,1.29

sword@www.crosswire.org sword@www.crosswire.org
Sun, 26 Jan 2003 20:22:51 -0700


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

Modified Files:
	gbfrtf.cpp 
Log Message:
multiple declarations of int i annoy MSVC

Index: gbfrtf.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/gbfrtf.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** gbfrtf.cpp	8 Jan 2003 23:31:48 -0000	1.28
--- gbfrtf.cpp	27 Jan 2003 03:22:49 -0000	1.29
***************
*** 35,38 ****
--- 35,39 ----
  	int wordLen = 0;
  	int wordCount = 0;
+ 	int i;
  
  	len = strlen(text) + 1;						// shift string to right of buffer
***************
*** 130,136 ****
  				if (token[1] == 'w') {
  					if ((wordCount > 0) || (strongnum != "{\\cf3 \\sub <3588>}")) {
! 						for (int i = 0; i < strongnum.length(); i++)
  							*to++ = strongnum[i];
! 					for (int i = 0; i < strongtense.length(); i++)
  						*to++ = strongtense[i];
  					}
--- 131,137 ----
  				if (token[1] == 'w') {
  					if ((wordCount > 0) || (strongnum != "{\\cf3 \\sub <3588>}")) {
! 						for (i = 0; i < strongnum.length(); i++)
  							*to++ = strongnum[i];
! 					for (i = 0; i < strongtense.length(); i++)
  						*to++ = strongtense[i];
  					}