Close #198
This commit is contained in:
parent
6c2fde1e38
commit
418ee90ea1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue