[sword-cvs] sword/src/keys versekey.cpp,1.50,1.51

sword@www.crosswire.org sword@www.crosswire.org
Fri, 9 May 2003 11:27:16 -0700


Update of /usr/local/cvsroot/sword/src/keys
In directory www:/tmp/cvs-serv1939

Modified Files:
	versekey.cpp 
Log Message:
no message

Index: versekey.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/keys/versekey.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** versekey.cpp	23 Apr 2003 19:23:16 -0000	1.50
--- versekey.cpp	9 May 2003 18:27:14 -0000	1.51
***************
*** 438,463 ****
  				}
  
!                     for (loop = strlen(book) - 1; loop+1; loop--) {
!                          if (book[loop] == ' ') {
! 						if (isroman(&book[loop+1])) {
!                                    if (verse == -1) {
!                                         verse = chap;
! 								chap = from_rom(&book[loop+1]);
! 								book[loop] = 0;
! 							}
! 						}
! 						break;
! 					}
! 				}
  
! 				if ((!stricmp(book, "V")) || (!stricmp(book, "VER"))) {	// Verse abbrev
!                          if (verse == -1) {
!                               verse = chap;
! 						chap = VerseKey(tmpListKey).Chapter();
!                               *book = 0;
!                          }
! 				}
! 				
! 				bookno = getBookAbbrev(book);
  			}
  			if (((bookno > -1) || (!*book)) && ((*book) || (chap >= 0) || (verse >= 0))) {
--- 438,463 ----
  				}
  
!                                 for (loop = strlen(book) - 1; loop+1; loop--) {
!                                 if (book[loop] == ' ') {
!                                         if (isroman(&book[loop+1])) {
!                                                 if (verse == -1) {
!                                                         verse = chap;
! 				        		chap = from_rom(&book[loop+1]);
! 					        	book[loop] = 0;
! 					       	        }
!                                                 }
! 	        				break;
!                                         }
!                                 }
  
!                                 if ((!stricmp(book, "V")) || (!stricmp(book, "VER"))) {	// Verse abbrev
!                                         if (verse == -1) {
!                                                 verse = chap;
! 		                		chap = VerseKey(tmpListKey).Chapter();
!                                                 *book = 0;
!                                         }
!                                 }
! 
! 		        	bookno = getBookAbbrev(book);
  			}
  			if (((bookno > -1) || (!*book)) && ((*book) || (chap >= 0) || (verse >= 0))) {