Add a static assertion for the encoding.

This commit is contained in:
Alcaro 2015-06-23 17:47:02 +02:00
parent 0f315f472e
commit c9ae127bc9

View File

@ -28,6 +28,7 @@
* If you save this file as UTF-8, you'll break non-english characters
* (e.g. German "Umlauts" and Portugese diacritics).
*/
extern const char encoding_test[sizeof("ø")==2 ? 1 : -1];
static const char *menu_hash_to_str_spanish(uint32_t hash)
{