=================================================================== RCS file: /home/cvs/OpenXM_contrib/gnuplot/win/Attic/pgnuplot.c,v retrieving revision 1.1 retrieving revision 1.1.1.2 diff -u -p -r1.1 -r1.1.1.2 --- OpenXM_contrib/gnuplot/win/Attic/pgnuplot.c 2000/01/22 14:16:31 1.1 +++ OpenXM_contrib/gnuplot/win/Attic/pgnuplot.c 2003/09/15 07:09:40 1.1.1.2 @@ -161,7 +161,7 @@ BOOL CALLBACK cbGetTextWindow(HWND hwnd, LPARAM lPar hwndText = FindWindowEx(hwnd, NULL, TEXTCLASS, NULL ); /* if the text window was found, stop looking */ - return ( hwndText != NULL ); + return ( hwndText == NULL ); } /* sends a string to the specified window */