From 83bf70f72bc78345d2755cd11529ff9e18840ae4 Mon Sep 17 00:00:00 2001 From: darkrose Date: Mon, 17 Nov 2014 18:36:23 +1000 Subject: [PATCH] remove some debug output --- src/gettext.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gettext.h b/src/gettext.h index 8f7b763..ff8bfbf 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -28,10 +28,13 @@ inline void changeCtype(const char *l) { char *ret = NULL; ret = setlocale(LC_CTYPE, l); - if(ret == NULL) +#ifndef NDEBUG + if (ret == NULL) { std::cout<<"locale could not be set"<