diff --git a/x11/windowmaker/patches/patch-WINGs_string_c b/x11/windowmaker/patches/patch-WINGs_string_c index 3be77bf61fa..3986549f111 100644 --- a/x11/windowmaker/patches/patch-WINGs_string_c +++ b/x11/windowmaker/patches/patch-WINGs_string_c @@ -1,6 +1,6 @@ -$OpenBSD: patch-WINGs_string_c,v 1.3 2002/01/04 22:40:02 wilfried Exp $ ---- WINGs/string.c.orig Sat Nov 17 05:43:30 2001 -+++ WINGs/string.c Fri Jan 4 13:54:19 2002 +$OpenBSD: patch-WINGs_string_c,v 1.4 2007/04/25 11:32:55 wilfried Exp $ +--- WINGs/string.c.orig Tue Oct 12 20:32:12 2004 ++++ WINGs/string.c Thu Mar 15 20:00:31 2007 @@ -1,6 +1,6 @@ #include "wconfig.h" @@ -9,3 +9,12 @@ $OpenBSD: patch-WINGs_string_c,v 1.3 2002/01/04 22:40:02 wilfried Exp $ #include #include #include +@@ -153,7 +153,7 @@ wtokenjoin(char **list, int count) + void + wtokenfree(char **tokens, int count) + { +- while (--count) wfree(tokens[count]); ++ while (count--) wfree(tokens[count]); + wfree(tokens); + } +