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"<