remove some debug output

This commit is contained in:
darkrose 2014-11-17 18:36:23 +10:00
parent 9e960d175b
commit 83bf70f72b
1 changed files with 5 additions and 2 deletions

View File

@ -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"<<std::endl;
else
}else{
std::cout<<"locale has been set to:"<<ret<<std::endl;
}
#endif
}
inline wchar_t* chartowchar_t(const char *str)