summaryrefslogtreecommitdiff
path: root/src/gettext.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-11 04:15:45 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-11 04:15:45 +0200
commitf1d9880006cf713597c1fc573f83db75062712c9 (patch)
treec5b056acf05ce408964b79b32e3e84a3619b2cdd /src/gettext.h
parent6ec447a1aa3678371af31aad4e186885ca4b8f27 (diff)
downloadminetest-f1d9880006cf713597c1fc573f83db75062712c9.tar.gz
minetest-f1d9880006cf713597c1fc573f83db75062712c9.tar.bz2
minetest-f1d9880006cf713597c1fc573f83db75062712c9.zip
Clean up log messages everywhere
Diffstat (limited to 'src/gettext.h')
-rw-r--r--src/gettext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gettext.h b/src/gettext.h
index 0e6ee0fd5..54470cb0d 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -1,6 +1,6 @@
#ifndef GETTEXT_HEADER
#include "config.h" // for USE_GETTEXT
-#include <iostream>
+#include "log.h"
#if USE_GETTEXT
#include <libintl.h>
@@ -41,9 +41,9 @@ inline void changeCtype(const char *l)
char *ret = NULL;
ret = setlocale(LC_CTYPE, l);
if(ret == NULL)
- std::cout<<"locale could not be set"<<std::endl;
+ infostream<<"locale could not be set"<<std::endl;
else
- std::cout<<"locale has been set to:"<<ret<<std::endl;
+ infostream<<"locale has been set to:"<<ret<<std::endl;
}
#define GETTEXT_HEADER
#endif