Subversion Repositories Games.Chess Giants

Rev

Rev 1 | Rev 81 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 59
Line 874... Line 874...
874
         wcscpy_s (cc.theme, WCHAR_SIZEOF (cc.theme), field_start); // copy theme
874
         wcscpy_s (cc.theme, WCHAR_SIZEOF (cc.theme), field_start); // copy theme
875
         cctheme_length = wcslen (cc.theme);
875
         cctheme_length = wcslen (cc.theme);
876
         for (char_index = 0; char_index < cctheme_length; char_index++)
876
         for (char_index = 0; char_index < cctheme_length; char_index++)
877
            if (cc.theme[char_index] == L'_')
877
            if (cc.theme[char_index] == L'_')
878
               cc.theme[char_index] = L' '; // convert underscores to spaces
878
               cc.theme[char_index] = L' '; // convert underscores to spaces
879
         if (_wcsicmp (cc.theme, os_language) == 0)
879
         if (_wcsicmp (cc.theme, languages[language_id].name) == 0)
880
            naturallanguagechannel_index = chatterchannel_count; // if this channel is the natural language one, remember it
880
            naturallanguagechannel_index = chatterchannel_count; // if this channel is the natural language one, remember it
881
         field_start = field_stop + 1; // and continue reading the string
881
         field_start = field_stop + 1; // and continue reading the string
882
         REACH_NEXT_FIELD_ELSE (field_start, continue);
882
         REACH_NEXT_FIELD_ELSE (field_start, continue);
883
      }
883
      }
884
 
884