minor change (added "const")

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6112 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
wizou 2010-07-06 21:47:29 +00:00
parent 633b3e6a95
commit c8d850efba
2 changed files with 2 additions and 2 deletions

View file

@ -473,7 +473,7 @@ int CEXEBuild::DefineInnerLangString(int id, int process/*=-1*/) {
// @return If the language id, the variable name or string is invalid, it will
// return a PS_ERROR. If this function call is overwriting a set user string,
// this will return a PS_WARNING.
int CEXEBuild::SetLangString(TCHAR *name, LANGID lang, TCHAR *str, BOOL unicode) {
int CEXEBuild::SetLangString(TCHAR *name, LANGID lang, const TCHAR *str, BOOL unicode) {
if (!str || !name) return PS_ERROR;
LanguageTable *table = GetLangTable(lang);