2005-02-18 [colin] 1.0.1cvs14.1
[claws.git] / src / quote_fmt_parse.y
index 31336ca5e0c7f271768f38ee618a5b2c2e1778ad..2d951e40d561670e85302cdde6eff2ab9a2f6b1b 100644 (file)
@@ -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;
 }