[Scummvm-cvs-logs] SF.net SVN: scummvm:[49880] scummvm/trunk/common/translation.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Jun 15 19:56:05 CEST 2010
Revision: 49880
http://scummvm.svn.sourceforge.net/scummvm/?rev=49880&view=rev
Author: lordhoto
Date: 2010-06-15 17:56:05 +0000 (Tue, 15 Jun 2010)
Log Message:
-----------
Simplify code for the "ICONV_USES_CONST" case even more. (i.e. remove the "msg" variable there).
Modified Paths:
--------------
scummvm/trunk/common/translation.cpp
Modified: scummvm/trunk/common/translation.cpp
===================================================================
--- scummvm/trunk/common/translation.cpp 2010-06-15 17:52:59 UTC (rev 49879)
+++ scummvm/trunk/common/translation.cpp 2010-06-15 17:56:05 UTC (rev 49880)
@@ -130,8 +130,7 @@
// Preparing conversion origin
size_t len = strlen(message);
#ifdef ICONV_USES_CONST
- const char *msg = message;
- const char **pmsg = &msg;
+ const char **pmsg = &message;
#else
char *msgcpy = new char[len + 1];
strcpy(msgcpy, message);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list