[sword-cvs] sword/src/modules/filters cipherfil.cpp,1.14,1.15

sword@www.crosswire.org sword@www.crosswire.org
Tue, 1 Apr 2003 03:14:08 -0700


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

Modified Files:
	cipherfil.cpp 
Log Message:
no message

Index: cipherfil.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/cipherfil.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** cipherfil.cpp	21 Feb 2003 10:30:43 -0000	1.14
--- cipherfil.cpp	1 Apr 2003 10:14:05 -0000	1.15
***************
*** 29,33 ****
  	unsigned int len;
  //	len = strlen(text);
! 	len = text.length();
  	if (len > 0) {
  		if (!key) {	// hack, using key to determine encipher, or decipher
--- 29,33 ----
  	unsigned int len;
  //	len = strlen(text);
! 	len = text.length()-2;
  	if (len > 0) {
  		if (!key) {	// hack, using key to determine encipher, or decipher