* fix = that should be ==
authorWilfried Göesgens <willi@citadel.org>
Fri, 9 Jan 2009 18:12:01 +0000 (18:12 +0000)
committerWilfried Göesgens <willi@citadel.org>
Fri, 9 Jan 2009 18:12:01 +0000 (18:12 +0000)
webcit/subst.c

index 28afdebc850c96d350fd8684f0c31f9914794f66..351793545f0d95e6bd4f64c3fb9711e183ad814c 100644 (file)
@@ -832,7 +832,7 @@ TemplateParam *GetNextParameter(StrBuf *Buf, const char **pCh, const char *pe, W
                        Parm->Start = pchs;
                        Parm->len = pche - pchs;
                        pch ++; /* move after trailing quote */
-                       if ((Parm->Type = TYPE_GETTEXT) && (*pch == ')')) {
+                       if ((Parm->Type == TYPE_GETTEXT) && (*pch == ')')) {
                                pch ++;
                        }