=================================================================== RCS file: /home/cvs/OpenXM_contrib/gnuplot/win/Attic/wtext.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/wtext.c 2000/01/09 17:01:19 1.1 +++ OpenXM_contrib/gnuplot/win/Attic/wtext.c 2000/01/22 14:16:33 1.1.1.2 @@ -1,8 +1,9 @@ #ifndef lint -static char *RCSid = "$Id: wtext.c,v 1.1 2000/01/09 17:01:19 maekawa Exp $"; +static char *RCSid = "$Id: wtext.c,v 1.1.1.2 2000/01/22 14:16:33 maekawa Exp $"; #endif /* GNUPLOT - win/wtext.c */ + /*[ * Copyright 1992, 1993, 1998 Russell Lang * @@ -119,6 +120,10 @@ TextMessage(void) while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE)) { +#if 1 /* HBB 19990505: Petzold says we should check this: */ + if (msg.message == WM_QUIT) + return; +#endif TranslateMessage(&msg); DispatchMessage(&msg); }