X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fquote_fmt_parse.y;h=2d951e40d561670e85302cdde6eff2ab9a2f6b1b;hp=31336ca5e0c7f271768f38ee618a5b2c2e1778ad;hb=e1b446cafbfb4fb536b636fde6da98032f31aec3;hpb=7ec992f6da586eaec5be329260e9f55afa4520a4;ds=sidebyside diff --git a/src/quote_fmt_parse.y b/src/quote_fmt_parse.y index 31336ca5e..2d951e40d 100644 --- a/src/quote_fmt_parse.y +++ b/src/quote_fmt_parse.y @@ -54,6 +54,8 @@ static gint error = 0; static gint cursor_pos = 0; +extern int quote_fmt_firsttime; + static void add_visibility(gboolean val) { stacksize++; @@ -125,6 +127,10 @@ void quote_fmt_init(MsgInfo *info, const gchar *my_quote_str, *buffer = 0; bufsize = 0; error = 0; + /* + * force LEX initialization + */ + quote_fmt_firsttime = 1; cursor_pos = 0; }