[Xfce4-commits] <libxfce4util:xfce-4.8> Fixed incorrect assertion in xfce_strjoin (bug #7122).
Nick Schermer
noreply at xfce.org
Sun Jun 19 17:16:01 CEST 2011
Updating branch refs/heads/xfce-4.8
to e09549991274ee1d4dd3a83630b014b7e7af3fbe (commit)
from cc1324ad403dbcd8847a5124df41bf9369df7294 (commit)
commit e09549991274ee1d4dd3a83630b014b7e7af3fbe
Author: Jens Luedicke <jens at linux-vq8x.site>
Date: Tue Jan 18 13:22:25 2011 +0100
Fixed incorrect assertion in xfce_strjoin (bug #7122).
(cherry picked from commit 57c306e902068cb0fe2ecc8271e36718dd8c058b)
libxfce4util/xfce-miscutils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libxfce4util/xfce-miscutils.c b/libxfce4util/xfce-miscutils.c
index 2a25275..1b464aa 100644
--- a/libxfce4util/xfce-miscutils.c
+++ b/libxfce4util/xfce-miscutils.c
@@ -295,7 +295,7 @@ xfce_strjoin (const gchar *separator,
gint length;
gint n;
- g_return_val_if_fail (count < 1, NULL);
+ g_return_val_if_fail (count > 0, NULL);
g_return_val_if_fail (strings != NULL, NULL);
for (length = 1, n = 0; n < count; n++)
More information about the Xfce4-commits
mailing list