]> code.citadel.org Git - citadel.git/blobdiff - webcit/subst.c
* fix = that should be ==
[citadel.git] / 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 ++;
                        }