Fixed typo in last minute change (spotted by Gerald Pfeifer).
This commit is contained in:
parent
424202bd9a
commit
88fbc45dc9
|
@ -74,7 +74,7 @@ inline static int is_data_file_module( HMODULE hmod )
|
||||||
static inline int push_language( WORD *list, int pos, WORD lang )
|
static inline int push_language( WORD *list, int pos, WORD lang )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < pos; i++) if (list[i] == lang) return;
|
for (i = 0; i < pos; i++) if (list[i] == lang) return pos;
|
||||||
list[pos++] = lang;
|
list[pos++] = lang;
|
||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue