Mercurial > audlegacy
diff libaudacious/rcfile.c @ 1769:8a926dec916f trunk
[svn] - parse equals correctly.
Patch submitted by: TiCPU.
author | nenolod |
---|---|
date | Mon, 02 Oct 2006 03:35:09 -0700 |
parents | 705d4c089fce |
children | a55ad33d882e |
line wrap: on
line diff
--- a/libaudacious/rcfile.c Mon Oct 02 01:56:53 2006 -0700 +++ b/libaudacious/rcfile.c Mon Oct 02 03:35:09 2006 -0700 @@ -100,7 +100,7 @@ else if (lines[i][0] != '#' && section) { if ((tmp = strchr(lines[i], '='))) { gchar **frags; - frags = g_strsplit(lines[i], "=", 0); + frags = g_strsplit(lines[i], "=", 2); if (strlen(frags[1]) > 0) { bmp_rcfile_create_string(section, frags[0], frags[1]); };