summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/codecs/qtextcodec/echo/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/codecs/qtextcodec/echo/main.cpp')
-rw-r--r--tests/auto/corelib/codecs/qtextcodec/echo/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/corelib/codecs/qtextcodec/echo/main.cpp b/tests/auto/corelib/codecs/qtextcodec/echo/main.cpp
index 55c831bd35..09c3ac3c09 100644
--- a/tests/auto/corelib/codecs/qtextcodec/echo/main.cpp
+++ b/tests/auto/corelib/codecs/qtextcodec/echo/main.cpp
@@ -47,8 +47,7 @@
int main(int argc, char **argv)
{
- static char lc_all[] = "LC_ALL=C";
- putenv(lc_all);
+ qputenv("LC_ALL", "C");
QCoreApplication app(argc, argv);
QString string(QChar(0x410));