pass through except for the first '='

if "foo=ba=r" is found in ini files, it should be parsed like this.
      key : foo
    value : ba=r
master
Koichiro IWAO 8 years ago committed by metalefty
parent d57e02626d
commit eae5cdf1fd

@ -213,7 +213,7 @@ file_split_name_value(char *text, char *name, char *value)
for (i = 0; i < len; i++)
{
if (text[i] == '=')
if (text[i] == '=' && !on_to)
{
on_to = 1;
}

Loading…
Cancel
Save