From 95f7bf3e6c7a6e35e0d473bab8ab5173b6bd9e52 Mon Sep 17 00:00:00 2001 From: John Hood Date: Mon, 20 Mar 2017 21:40:06 -0400 Subject: [PATCH] Let bools be bools. --- src/util/locale_utils.cc | 4 ++-- 1 file 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 ) {