From 9e2a9b55e185b92074b32d3df336920f33b29e5a Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sun, 1 Feb 2015 17:59:23 -0500 Subject: Reduce gettext wide/narrow and string/char* conversions --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index cb6419fad..2f70d624c 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2716,7 +2716,7 @@ void Client::afterContentReceived(IrrlichtDevice *device, gui::IGUIFont* font) assert(m_nodedef_received); assert(mediaReceived()); - wchar_t* text = wgettext("Loading textures..."); + const wchar_t* text = wgettext("Loading textures..."); // Rebuild inherited images and recreate textures infostream<<"- Rebuilding images and textures"<