Show
Ignore:
Timestamp:
11/20/07 23:45:14 (1 year ago)
Author:
daboo
Message:

Merge of win32-merge branch.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/trunk/Sources_Common/Application/Preferences/CBlockOptionsMap.cp

    r19 r143  
    5252                // Partial compare 
    5353                if ((::strncmp((*iter).first, mSection, len_comp) == 0) && 
    54                         ((*iter).first[len_comp] == mSeparator[0UL]) && 
    55                         (::strchr(((const char*) (*iter).first) + len_comp + 1, mSeparator[0UL]) == NULL) && 
     54                        ((*iter).first[len_comp] == mSeparator[(cdstring::size_type)0]) && 
     55                        (::strchr(((const char*) (*iter).first) + len_comp + 1, mSeparator[(cdstring::size_type)0]) == NULL) && 
    5656                        (num-- < 1)) 
    5757                { 
     
    7676                cdstring match = (*iter).first; 
    7777                if ((::strncmp(match, mSection, len_comp) == 0) && 
    78                         (match[len_comp] == mSeparator[0UL]) && 
    79                         (::strchr(((const char*) match) + len_comp + 1, mSeparator[0UL]) != NULL)) 
     78                        (match[len_comp] == mSeparator[(cdstring::size_type)0]) && 
     79                        (::strchr(((const char*) match) + len_comp + 1, mSeparator[(cdstring::size_type)0]) != NULL)) 
    8080                { 
    8181                        // Extract key 
    8282                        cdstring test_key = &match[len_comp + 1]; 
    83                         *::strchr(test_key.c_str_mod(), mSeparator[0UL]) = 0; 
     83                        *::strchr(test_key.c_str_mod(), mSeparator[(cdstring::size_type)0]) = 0; 
    8484 
    8585                        // Compare with last one 
     
    106106                cdstring match = (*iter).first; 
    107107                if (!::strncmp(match, mSection, len_comp) && 
    108                         (match[len_comp] == mSeparator[0UL])) 
     108                        (match[len_comp] == mSeparator[(cdstring::size_type)0])) 
    109109                { 
    110110                        // Add to found list