Fix my previous patch which did not compile after latest merge from main.
[claws.git] / src / compose.c
index c5b5f0f43a473fa4982c5834024b8f0eb4f46cce..f0b2b5191a9467f1c1a59422356cc4b3ce2a205b 100644 (file)
@@ -2237,7 +2237,7 @@ static guint get_indent_length(GtkSText *text, guint start_pos, guint text_len)
                        if (is_indent == FALSE && !isupper(cbuf[0]))
                                goto out;
                        if (is_indent == TRUE) {
-                               if (alnum_cnt > 0 && cb[0] != '>')
+                               if (alnum_cnt > 0 && cbuf[0] != '>')
                                        goto out;
                                alnum_cnt = 0;
                                state = WAIT_FOR_SPACE;