[svn r546] fixed parse trunk
authorrenatofilho
Thu Apr 12 22:38:44 2007 +0100 (2007-04-12)
branchtrunk
changeset 5410bf798c3f17e
parent 540 d6f9b0417346
child 542 0c3e3011a942
[svn r546] fixed parse
gmyth-stream/libgnomevfs2/modules/gmythstream-method.c
     1.1 --- a/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c	Thu Apr 12 22:34:28 2007 +0100
     1.2 +++ b/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c	Thu Apr 12 22:38:44 2007 +0100
     1.3 @@ -186,11 +186,13 @@
     1.4  		if (((*c == '?') || (c[1] == '\0')) && !open) {
     1.5  			if (*c != '?')
     1.6  				g_string_append_c (entry, *c);
     1.7 -
     1.8  			args = g_slist_append (args, g_strdup (entry->str));
     1.9  			entry = g_string_assign (entry, "");
    1.10  		} else {
    1.11 -			g_string_append_c (entry, *c);
    1.12 +			if (*c == '+')
    1.13 +				g_string_append_c (entry, "//");
    1.14 +			else
    1.15 +				g_string_append_c (entry, *c);
    1.16  		}
    1.17  		c = c + 1;
    1.18  	} while (*c != '\0');