Update of /cvsroot/mahogany/M/src/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3339/src/modules

Modified Files:
        Filters.cpp 
Log Message:
don't use isxxx() functions with 8 bit chars, results in (correct) asserts with VC7.1 
CRT

Index: Filters.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/Filters.cpp,v
retrieving revision 1.185
retrieving revision 1.186
diff -b -u -2 -r1.185 -r1.186
--- Filters.cpp 5 Jan 2004 22:09:13 -0000       1.185
+++ Filters.cpp 13 Mar 2004 12:13:36 -0000      1.186
@@ -2007,5 +2007,5 @@
    for ( const wxChar *pc = subject; *pc; pc++ )
    {
-      if ( islower(*pc) )
+      if ( (*pc > 127) || islower(*pc) )
       {
          // not only caps
@@ -2047,5 +2047,5 @@
    const wxChar * const startSpaces = p;
    p += NUM_SPACES;
-   while ( isspace(*p) )
+   while ( *p < 128 && isspace(*p) )
       p++;
 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to