summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Hood <cgull@glup.org>2017-03-20 21:40:06 -0400
committerJohn Hood <cgull@glup.org>2017-04-24 22:40:30 -0400
commit95f7bf3e6c7a6e35e0d473bab8ab5173b6bd9e52 (patch)
tree0a4d67ffbde8b161de6a2ec71a0b6226ce74503f
parent3b1984f9f8c896d7edc49d34471b1b1c7aa3477f (diff)
Let bools be bools.
-rw-r--r--src/util/locale_utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/locale_utils.cc b/src/util/locale_utils.cc
index 11923ff..41d5ee2 100644
--- a/src/util/locale_utils.cc
+++ b/src/util/locale_utils.cc
@@ -88,9 +88,9 @@ bool is_utf8_locale( void ) {
/* Verify locale calls for UTF-8 */
if ( 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 ) {