chiark / gitweb /
lib.c (subst): Refer to the correct variable.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 4 Mar 2024 17:31:18 +0000 (17:31 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 4 Mar 2024 17:31:18 +0000 (17:31 +0000)
I don't know what happened here: the code came first by some margin.

lib.c

diff --git a/lib.c b/lib.c
index 5aa12e3d21b3d39d02ef5aa17b11b04b97ba8596..dea6c0964aad5026719a8798abe758a592adfc85 100644 (file)
--- a/lib.c
+++ b/lib.c
@@ -1462,7 +1462,7 @@ static const char *subst(const char *p, const char *l,
 
       if (!(f&SF_SKIP)) {
 
-       /* If this is a double quote or backslash then check DFLT to see if
+       /* If this is a double quote or backslash then check QFILT to see if
         * it needs escaping.
         */
        if (qfilt && (*p == '"' || *p == '\\'))