Fix clearing of ICS input box after send
[xboard.git] / dialogs.c
index 525ce71..5bed07a 100644 (file)
--- a/dialogs.c
+++ b/dialogs.c
@@ -1078,7 +1078,7 @@ ICSInputSendText ()
     GetWidgetText(&boxOptions[0], &val);
     SaveInHistory(val);
     SendMultiLineToICS(val);
-    SetWidgetText(&boxOptions[0], val, InputBoxDlg);
+    SetWidgetText(&boxOptions[0], "", InputBoxDlg);
 }
 
 void