Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10764/src/classes
Modified Files:
ComposeTemplate.cpp MessageTemplate.cpp MessageView.cpp
Profile.cpp
Log Message:
isspace->wxIsspace, isalnum->wxIsalnum, and fixing warning "Filters.cpp:2051: warning:
comparison is always true due to limited range of data type"
Index: ComposeTemplate.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/ComposeTemplate.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -b -u -2 -r1.62 -r1.63
--- ComposeTemplate.cpp 12 Jan 2004 17:48:29 -0000 1.62
+++ ComposeTemplate.cpp 16 Mar 2004 00:00:58 -0000 1.63
@@ -701,5 +701,5 @@
while ( n > prefix.length() )
{
- if ( isspace(lineCur[n]) )
+ if ( wxIsspace(lineCur[n]) )
break;
@@ -719,5 +719,5 @@
// we don't need to start the new line with spaces so remove them
// from the tail
- while ( n < lineCur.length() && isspace(lineCur[n]) )
+ while ( n < lineCur.length() && wxIsspace(lineCur[n]) )
{
n++;
Index: MessageTemplate.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageTemplate.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -b -u -2 -r1.32 -r1.33
--- MessageTemplate.cpp 18 Sep 2003 16:30:50 -0000 1.32
+++ MessageTemplate.cpp 16 Mar 2004 00:00:58 -0000 1.33
@@ -492,5 +492,5 @@
while ( *pc && (*pc != '\n') &&
((quoted && *pc != '"') ||
- ((forceQuotes || isalnum(*pc)) && *pc != endOfWordMarker)) )
+ ((forceQuotes || wxIsalnum(*pc)) && *pc != endOfWordMarker)) )
{
if ( quoted && *pc == '\\' )
Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.148
retrieving revision 1.149
diff -b -u -2 -r1.148 -r1.149
--- MessageView.cpp 14 Mar 2004 22:51:37 -0000 1.148
+++ MessageView.cpp 16 Mar 2004 00:00:58 -0000 1.149
@@ -80,6 +80,4 @@
#include <wx/tokenzr.h>
-#include <ctype.h> // for isspace
-
#ifdef OS_UNIX
#include <sys/stat.h>
Index: Profile.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Profile.cpp,v
retrieving revision 1.156
retrieving revision 1.157
diff -b -u -2 -r1.156 -r1.157
--- Profile.cpp 12 Jan 2004 22:10:39 -0000 1.156
+++ Profile.cpp 16 Mar 2004 00:00:58 -0000 1.157
@@ -1808,5 +1808,5 @@
{
wxChar ch = profileName[n];
- if ( isalnum(ch) || wxStrchr(aValidChars, ch) )
+ if ( wxIsalnum(ch) || wxStrchr(aValidChars, ch) )
{
filteredName << ch;
-------------------------------------------------------
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