fixed posting plain messages
This commit is contained in:
parent
5bf8ca3fb5
commit
3244f092a3
2 changed files with 37 additions and 5 deletions
|
@ -88,7 +88,7 @@
|
|||
}
|
||||
|
||||
-(void)controlTextDidChange:(NSNotification *)aNotification {
|
||||
NSInteger c = 140 - [[textField stringValue] length];
|
||||
NSInteger c = MESSAGE_MAX_LENGTH - [[textField stringValue] length];
|
||||
[counter setIntValue:c];
|
||||
if(c < 0) {
|
||||
[counter setTextColor:[NSColor redColor]];
|
||||
|
|
Reference in a new issue