From d904b9e532da45d1b31621f51e5d45553ae83d89 Mon Sep 17 00:00:00 2001 From: Brice Goglin Date: Tue, 4 Sep 2007 00:45:50 +0200 Subject: unquote_pairs() really unquotes all pairs Fix unquote_pairs() to unquote every pair in br instead only the first one n times. Reported by Viktor Horvath in Debian bug #440734. --- makeform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makeform.c b/makeform.c index ad16098..898b554 100644 --- a/makeform.c +++ b/makeform.c @@ -56,7 +56,7 @@ unquote_pairs (ButtonRecord *br, int n) { int i; - for (i = 0; i < n; i++) { + for (i = 0; i < n; i++, br++) { char *dst, *src; int quoted = 0; -- cgit v1.2.3