X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/3bdaf79d9fc23348ef36e681450dd0d3fef4cd66..9d33ebddc777e92a92d57f91a9d7f325d36aa422:/scp.c?ds=sidebyside diff --git a/scp.c b/scp.c index 7a0a2253..8f972763 100644 --- 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 ); } }