use xtell instead of tell in wchat
[xboard.git] / winboard / wchat.c
index a837a86..a2b0825 100644 (file)
@@ -99,9 +99,7 @@ static void ResizeWindowControls( HWND hDlg )
     int clientHeight;\r
     int maxControlWidth;\r
     int buttonWidth, buttonHeight;\r
-#if 0\r
-}\r
-#else\r
+\r
     /* Initialize variables */\r
     GetClientRect( hDlg, &rc );\r
 \r
@@ -121,7 +119,6 @@ static void ResizeWindowControls( HWND hDlg )
 //    InvalidateRect( GetDlgItem(hDlg,IDC_EngineMemo1), NULL, FALSE );\r
 //    InvalidateRect( GetDlgItem(hDlg,IDC_EngineMemo2), NULL, FALSE );\r
 }\r
-#endif\r
 \r
 // front end. Actual printing of PV lines into the output field\r
 static void InsertIntoMemo( HANDLE hDlg, char * text )\r
@@ -184,7 +181,7 @@ LRESULT CALLBACK ChatProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam
                    sprintf(buf, "> %s\n", mess); // echo only tells to handle, not channel\r
                InsertIntoMemo(hDlg, buf);\r
                }\r
-               sprintf(buf, "tell %s %s\n", chatPartner[partner], mess);\r
+               sprintf(buf, "xtell %s %s\n", chatPartner[partner], mess);\r
            }\r
            SendToICS(buf);\r
            break;\r