From 7aa28f3efedaecee01e86c0c04f061e3b594be76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 24 Sep 2008 19:51:46 +0000 Subject: [PATCH] char * for string literals is deprecated... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26526 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/Messages.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/support/Messages.cpp b/src/support/Messages.cpp index 1e49cc62b3..096485335f 100644 --- a/src/support/Messages.cpp +++ b/src/support/Messages.cpp @@ -72,8 +72,8 @@ namespace lyx { void Messages::setDefaultLanguage() { - char * env_lang[5] = {"LANGUAGE", "LC_ALL", "LC_MESSAGES", "LC_MESSAGE", - "LANG"}; + char const * env_lang[5] = {"LANGUAGE", "LC_ALL", "LC_MESSAGES", + "LC_MESSAGE", "LANG"}; for (size_t i = 0; i != 5; ++i) { string const lang = getEnv(env_lang[i]); if (lang.empty())