diff mcabber/src/screen.c @ 997:d0d0cd9e39c4

Cosmetics & comments
author Mikael Berthe <mikael@lilotux.net>
date Thu, 02 Nov 2006 22:34:52 +0100
parents f4d6570e2628
children f7ef8003fc35
line wrap: on
line diff
--- a/mcabber/src/screen.c	Thu Nov 02 21:59:15 2006 +0100
+++ b/mcabber/src/screen.c	Thu Nov 02 22:34:52 2006 +0100
@@ -2841,6 +2841,8 @@
   refresh_inputline();
 
   if (!lock_chatstate) {
+    // Set chat state to composing (1) if the user is currently composing,
+    // i.e. not an empty line and not a command line.
     if (inputLine[0] == 0 || inputLine[0] == COMMAND_CHAR)
       set_chatstate(0);
     else