Commit e1b52e49 authored by Rafaël Carré's avatar Rafaël Carré

Fix infinite loop introduced in [9142f0c6]

parent 69a830e9
......@@ -201,10 +201,9 @@ uint_fast32_t ConfigStringToKey (const char *name)
{
uint_fast32_t mods = 0;
const char *psz_parser = name;
for (;;)
{
psz_parser = strchr (psz_parser, '-');
const char *psz_parser = strchr (name, '-');
if (psz_parser == NULL || psz_parser == name)
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment