[sword-cvs] sword/src/modules/filters greeklexattribs.cpp,1.13,1.14

sword@www.crosswire.org sword@www.crosswire.org
Thu, 17 Apr 2003 18:05:42 -0700


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

Modified Files:
	greeklexattribs.cpp 
Log Message:
Fixed bug that caused modedit to hang in greeklexattribs.cpp


Index: greeklexattribs.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/greeklexattribs.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** greeklexattribs.cpp	26 Feb 2003 20:05:59 -0000	1.13
--- greeklexattribs.cpp	18 Apr 2003 01:05:40 -0000	1.14
***************
*** 61,65 ****
  
  						phrase = "";
! 						phrase.append(currentPhrase, (int)(((currentPhraseEnd)?currentPhraseEnd:from) - currentPhrase)-1);
  						currentPhrase = from;
  						while (*from && isdigit(*from)) from++;
--- 61,65 ----
  
  						phrase = "";
! 						phrase.append(currentPhrase, (int)(((currentPhraseEnd>currentPhrase)?currentPhraseEnd:from) - currentPhrase)-1);
  						currentPhrase = from;
  						while (*from && isdigit(*from)) from++;