mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
Multi-locale DBC extracting
Signed-off-by: Foks <Foks@mangos.ru> Small related code fixed and cleanups. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
ef8e864008
commit
cdb2c08e3f
7 changed files with 101 additions and 75 deletions
|
|
@ -79,7 +79,7 @@ int libmpq_conf_parse_line(char *line, char *search_value, char *return_value, i
|
|||
}
|
||||
|
||||
/* now search for comment in this line */
|
||||
for (i = 0; i < strlen(line); i++) {
|
||||
for (i = 0; i < int(strlen(line)); i++) {
|
||||
if (line[i] == '#') {
|
||||
pos = i - 1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue