[sword-cvs] sword/src/modules/filters gbfrtf.cpp,1.29,1.30
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 11 Feb 2003 16:37:55 -0700
Update of /usr/local/cvsroot/sword/src/modules/filters
In directory www:/tmp/cvs-serv28210
Modified Files:
gbfrtf.cpp
Log Message:
bringing GBFRTF up to par with other GBF filters
Index: gbfrtf.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/gbfrtf.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** gbfrtf.cpp 27 Jan 2003 03:22:49 -0000 1.29
--- gbfrtf.cpp 11 Feb 2003 23:37:53 -0000 1.30
***************
*** 286,291 ****
continue;
case 'S':
! *to++ = '{';
! *to++ = '\\';
*to++ = 's';
*to++ = 'u';
--- 286,291 ----
continue;
case 'S':
! *to++ = '{';
! *to++ = '\\';
*to++ = 's';
*to++ = 'u';
***************
*** 296,303 ****
continue;
case 's':
! *to++ = '}';
continue;
case 'R':
! *to++ = '{';
*to++ = '\\';
*to++ = 'c';
--- 296,303 ----
continue;
case 's':
! *to++ = '}';
continue;
case 'R':
! *to++ = '{';
*to++ = '\\';
*to++ = 'c';
***************
*** 307,311 ****
continue;
case 'r':
! *to++ = '}';
continue;
}
--- 307,358 ----
continue;
case 'r':
! *to++ = '}';
! continue;
! case 'O':
! case 'C':
! *to++ = '\\';
! *to++ = 's';
! *to++ = 'c';
! *to++ = 'a';
! *to++ = 'p';
! *to++ = 's';
! *to++ = '1';
! *to++ = ' ';
! continue;
! case 'o':
! case 'c':
! *to++ = '\\';
! *to++ = 's';
! *to++ = 'c';
! *to++ = 'a';
! *to++ = 'p';
! *to++ = 's';
! *to++ = '0';
! *to++ = ' ';
! continue;
! case 'V':
! *to++ = '{';
! *to++ = '\\';
! *to++ = 's';
! *to++ = 'u';
! *to++ = 'b';
! *to++ = ' ';
! continue;
! case 'v':
! *to++ = '}';
! continue;
! case 'U':
! *to++ = '\\';
! *to++ = 'u';
! *to++ = 'l';
! *to++ = '1';
! *to++ = ' ';
! continue;
! case 'u':
! *to++ = '\\';
! *to++ = 'u';
! *to++ = 'l';
! *to++ = '0';
! *to++ = ' ';
continue;
}