From: Wilfried Goesgens Date: Tue, 19 Jul 2011 21:45:32 +0000 (+0000) Subject: fix pointer indirection to get the right escaper. X-Git-Tag: v8.11~564 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=c58d4477f974afee2965237e26abffb74257de01 fix pointer indirection to get the right escaper. --- diff --git a/webcit/subst.c b/webcit/subst.c index cf6c9e130..3b234f042 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -627,7 +627,7 @@ void StrBufAppendTemplate(StrBuf *Target, (TP->Tokens->Params[FormatTypeIndex]->Type == TYPE_STR) && (TP->Tokens->Params[FormatTypeIndex]->len >= 1)) { pFmt = TP->Tokens->Params[FormatTypeIndex]->Start; - EscapeAs = pFmt; + EscapeAs = *pFmt; } switch(EscapeAs)