Changeset 143 for Mulberry/trunk/Sources_Common/Formatting/CParserHTML.cp
- Timestamp:
- 11/20/07 23:45:14 (1 year ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/trunk/Sources_Common/Formatting/CParserHTML.cp
r62 r143 30 30 31 31 #include <strstream> 32 #include <math.h> 33 32 34 using namespace std; 33 35 #if __dest_os == __linux_os … … 922 924 { 923 925 long amount = ::uniatol(sizeStr); 924 if (sizeStr[ 0UL] == '+' || sizeStr[0UL] == '-')926 if (sizeStr[(cdstring::size_type)0] == '+' || sizeStr[(cdstring::size_type)0] == '-') 925 927 amount += mBaseFontSize; 926 928 … … 1025 1027 1026 1028 // Allow URLs without schemes provided they are local 1027 if (mClickList && !location.empty() && (!scheme.empty() || location[ 0UL] == '#'))1029 if (mClickList && !location.empty() && (!scheme.empty() || location[(cdstring::size_type)0] == '#')) 1028 1030 { 1029 1031 // Create click element … … 1239 1241 1240 1242 // Look for relative URL 1241 if (!outLocation.empty() && (outLocation[ 0UL] != '/'))1243 if (!outLocation.empty() && (outLocation[(cdstring::size_type)0] != '/')) 1242 1244 { 1243 1245 // Short circuit the common ones