You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
887 B

  1. --- a/src/tr_languages.cpp
  2. +++ b/src/tr_languages.cpp
  3. @@ -198,7 +198,7 @@ static const unsigned short chars_ignore
  4. 0x200d, 1, // zero width joiner
  5. 0, 0 };
  6. -const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8
  7. +const unsigned char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8
  8. static Translator* NewTranslator(void)
  9. @@ -758,7 +758,7 @@ Translator *SelectTranslator(const char
  10. tr->langopts.stress_flags = S_FINAL_SPANISH | S_FINAL_DIM_ONLY | S_FINAL_NO_2;
  11. tr->langopts.numbers = NUM_SINGLE_STRESS | NUM_DECIMAL_COMMA | NUM_AND_UNITS | NUM_OMIT_1_HUNDRED | NUM_OMIT_1_THOUSAND | NUM_ROMAN | NUM_ROMAN_ORDINAL;
  12. tr->langopts.numbers2 = NUM2_ORDINAL_NO_AND;
  13. - tr->langopts.roman_suffix = string_ordinal;
  14. + tr->langopts.roman_suffix = (const char *)string_ordinal;
  15. }
  16. else
  17. if(name2 == L_pap)