changeset 1367:cd0d63024923

Fix up split_arg() Fix a small quoting issue.
author Mikael Berthe <mikael@lilotux.net>
date Wed, 14 Nov 2007 00:34:22 +0100
parents 01e558748379
children 23afeb5c555b
files mcabber/src/utils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/utils.c	Mon Nov 12 22:43:08 2007 +0100
+++ b/mcabber/src/utils.c	Wed Nov 14 00:34:22 2007 +0100
@@ -458,7 +458,7 @@
       *(arglst+i) = g_strndup(start, p-start);
       strip_arg_special_chars(*(arglst+i));
       for (start = p+1; *start && *start == ' '; start++) ;
-      p = start;
+      p = start-1;
       i++;
     }
   }