aboutsummaryrefslogtreecommitdiff
path: root/tools/create_translations
diff options
context:
space:
mode:
authorAndre Heider2010-08-25 19:41:59 +0000
committerAndre Heider2010-08-25 19:41:59 +0000
commit2506560bda8dc43dfe996533e359323e3d344c2d (patch)
tree57cede244fb82d1bafa0df09c5f0b7c86c2023a5 /tools/create_translations
parent6de3b6c55cc118a9f34c8dea394d89b821b21f7b (diff)
downloadscummvm-rg350-2506560bda8dc43dfe996533e359323e3d344c2d.tar.gz
scummvm-rg350-2506560bda8dc43dfe996533e359323e3d344c2d.tar.bz2
scummvm-rg350-2506560bda8dc43dfe996533e359323e3d344c2d.zip
TOOLS: const correctness to fix compilation.
svn-id: r52394
Diffstat (limited to 'tools/create_translations')
-rw-r--r--tools/create_translations/po_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create_translations/po_parser.cpp b/tools/create_translations/po_parser.cpp
index f2cd5a5859..84de73355f 100644
--- a/tools/create_translations/po_parser.cpp
+++ b/tools/create_translations/po_parser.cpp
@@ -301,7 +301,7 @@ char *parseLine(const char *line, const char *field) {
// It will return a NULL pointer if the field is not found.
// It is used to parse the header of the po files to find the language name
// and the charset.
- char *str = strstr(line, field);
+ const char *str = strstr(line, field);
if (str == NULL)
return NULL;
str += strlen(field);