Differences From Artifact [16863c4f02]:
- File src/encodings/iso_8859-15.m — part of check-in [da8cd1c0ad] at 2017-09-09 22:21:37 on branch trunk — src/encodings: Rename a few files (user: js, size: 2906) [annotate] [blame] [check-ins using]
- File src/encodings/iso_8859_15.m — part of check-in [37d2a81754] at 2017-05-07 21:25:56 on branch trunk — Use char{16,32}_t instead of of_char{16,32}_t (user: js, size: 2906) [annotate] [blame] [check-ins using]
To Artifact [8f6da128e4]:
- File src/encodings/iso_8859-15.m — part of check-in [a06354b42a] at 2017-10-22 15:05:39 on branch trunk — Make Apple GCC with -Wshadow happy (user: js, size: 2904) [annotate] [blame] [check-ins using]
- File src/encodings/iso_8859_15.m — part of check-in [31c0f5b89e] at 2017-10-22 14:09:23 on branch 0.90 — Make Apple GCC with -Wshadow happy (user: js, size: 2904) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
64 65 66 67 68 69 70 | of_unicode_to_iso_8859_15(const of_unichar_t *input, unsigned char *output, size_t length, bool lossy) { for (size_t i = 0; i < length; i++) { of_unichar_t c = input[i]; if OF_UNLIKELY (c > 0x7F) { | | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | of_unicode_to_iso_8859_15(const of_unichar_t *input, unsigned char *output, size_t length, bool lossy) { for (size_t i = 0; i < length; i++) { of_unichar_t c = input[i]; if OF_UNLIKELY (c > 0x7F) { uint8_t idx; if OF_UNLIKELY (c > 0xFFFF) { if (lossy) { output[i] = '?'; continue; } else return false; |
︙ | ︙ |