summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Goglin <bgoglin@debian.org>2007-09-04 00:45:50 +0200
committerBrice Goglin <bgoglin@debian.org>2007-09-04 00:45:50 +0200
commitd904b9e532da45d1b31621f51e5d45553ae83d89 (patch)
treeece1a398388cd04d2eff80bea7333c01ee3f5981
parent24f1760790a9d2f73cac94bc00d8137fefac9f38 (diff)
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.
-rw-r--r--makeform.c2
1 files changed, 1 insertions, 1 deletions
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;