Let bools be bools.

This commit is contained in:
John Hood
2017-03-20 21:40:06 -04:00
parent 3b1984f9f8
commit 95f7bf3e6c
+2 -2
View File
@@ -88,9 +88,9 @@ bool is_utf8_locale( void ) {
/* Verify locale calls for UTF-8 */ /* Verify locale calls for UTF-8 */
if ( strcmp( locale_charset(), "UTF-8" ) != 0 && if ( strcmp( locale_charset(), "UTF-8" ) != 0 &&
strcmp( locale_charset(), "utf-8" ) != 0 ) { strcmp( locale_charset(), "utf-8" ) != 0 ) {
return 0; return false;
} }
return 1; return true;
} }
void set_native_locale( void ) { void set_native_locale( void ) {