diff options
| author | Andre Heider | 2010-08-25 19:41:59 +0000 | 
|---|---|---|
| committer | Andre Heider | 2010-08-25 19:41:59 +0000 | 
| commit | 2506560bda8dc43dfe996533e359323e3d344c2d (patch) | |
| tree | 57cede244fb82d1bafa0df09c5f0b7c86c2023a5 | |
| parent | 6de3b6c55cc118a9f34c8dea394d89b821b21f7b (diff) | |
| download | scummvm-rg350-2506560bda8dc43dfe996533e359323e3d344c2d.tar.gz scummvm-rg350-2506560bda8dc43dfe996533e359323e3d344c2d.tar.bz2 scummvm-rg350-2506560bda8dc43dfe996533e359323e3d344c2d.zip  | |
TOOLS: const correctness to fix compilation.
svn-id: r52394
| -rw-r--r-- | tools/create_translations/po_parser.cpp | 2 | 
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);  | 
