[mapguide-commits] r1174 - trunk/MgDev/Common/Stylization
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Mar 7 17:52:26 EST 2007
Author: chrisclaydon
Date: 2007-03-07 17:52:26 -0500 (Wed, 07 Mar 2007)
New Revision: 1174
Modified:
trunk/MgDev/Common/Stylization/SE_ExpressionBase.cpp
Log:
Minor fixes in new stylization code to fix build on RHEL3
Modified: trunk/MgDev/Common/Stylization/SE_ExpressionBase.cpp
===================================================================
--- trunk/MgDev/Common/Stylization/SE_ExpressionBase.cpp 2007-03-07 22:35:38 UTC (rev 1173)
+++ trunk/MgDev/Common/Stylization/SE_ExpressionBase.cpp 2007-03-07 22:52:26 UTC (rev 1174)
@@ -198,9 +198,9 @@
else
{
const wchar_t* str = m_buffer.c_str();
- while (isspace(*str))
+ while (iswspace(*str))
str++;
- if (*str++ != '\'')
+ if (*str++ != L'\'')
{
val.expression = FdoExpression::Parse(m_buffer.c_str());
return;
@@ -208,10 +208,10 @@
const wchar_t* begin = str;
- while(*str != NULL && *str != '\'')
+ while(*str != L'\0' && *str != L'\'')
str++;
- if (*str == NULL)
+ if (*str == L'\0')
{
val.expression = FdoExpression::Parse(m_buffer.c_str());
return;
More information about the mapguide-commits
mailing list