Fix a typo; thanks to Al Sutton
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 4 Oct 2000 10:02:25 +0000 (10:02 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 4 Oct 2000 10:02:25 +0000 (10:02 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@667 cda61777-01e9-0310-a592-d414129be87e

scp.c

diff --git a/scp.c b/scp.c
index 7a0a225..8f97276 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -94,7 +94,7 @@ void tell_char(FILE *stream, char c)
     else
     {
        unsigned int msg_id = WM_STD_OUT_CHAR;
-       if (stream = stderr) msg_id = WM_STD_ERR_CHAR;
+       if (stream == stderr) msg_id = WM_STD_ERR_CHAR;
        send_msg( (HWND)atoi(gui_hwnd), msg_id, (WPARAM)c );
     }
 }