From: <su...@us...> - 2008-02-11 08:49:43
|
Revision: 2572 http://tora.svn.sourceforge.net/tora/?rev=2572&view=rev Author: subik Date: 2008-02-11 00:49:48 -0800 (Mon, 11 Feb 2008) Log Message: ----------- qt3 legacy removed Modified Paths: -------------- trunk/tora/src/utils.cpp Modified: trunk/tora/src/utils.cpp =================================================================== --- trunk/tora/src/utils.cpp 2008-02-11 08:44:47 UTC (rev 2571) +++ trunk/tora/src/utils.cpp 2008-02-11 08:49:48 UTC (rev 2572) @@ -804,9 +804,9 @@ // Has a memory leak, but just a minor one. char *env = new char[var.length() + val.length() + 2]; - strcpy(env, var); + strcpy(env, var.toUtf8()); strcat(env, "="); - strcat(env, val); + strcat(env, val.toUtf8()); putenv(env); #endif } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |