This commit is contained in:
Bleak Grey 2020-07-16 16:00:19 +03:00
parent 6c2fde1e38
commit 418ee90ea1
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class Tootle.Dialogs.Compose : Window {
void validate () {
var remain = char_limit - content.buffer.get_char_count ();
if (cw_button.active)
remain -= (int)cw.buffer.length;
remain -= (int) cw.buffer.get_length ();
counter.label = remain.to_string ();
post_button.sensitive = remain >= 0;