Author: gedmurphy
Date: Fri Aug 3 21:25:22 2007
New Revision: 28142
URL:
http://svn.reactos.org/svn/reactos?rev=28142&view=rev
Log:
don't ask everytime the user wants to close the window
Modified:
trunk/reactos/base/applications/games/solitaire/cardlib/cardregion.cpp
trunk/reactos/base/applications/games/solitaire/solitaire.cpp
Modified: trunk/reactos/base/applications/games/solitaire/cardlib/cardregion.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/so…
==============================================================================
--- trunk/reactos/base/applications/games/solitaire/cardlib/cardregion.cpp (original)
+++ trunk/reactos/base/applications/games/solitaire/cardlib/cardregion.cpp Fri Aug 3
21:25:22 2007
@@ -30,7 +30,6 @@
fVisible = visible;
nThreedCount = 1;
- nBackCardIdx = 53;
Update(); //Update this stack's size+card count
Modified: trunk/reactos/base/applications/games/solitaire/solitaire.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/so…
==============================================================================
--- trunk/reactos/base/applications/games/solitaire/solitaire.cpp (original)
+++ trunk/reactos/base/applications/games/solitaire/solitaire.cpp Fri Aug 3 21:25:22
2007
@@ -493,13 +493,7 @@
return 0;
case WM_CLOSE:
- ret = MessageBox(hwnd, MsgQuit, szAppName, MB_OKCANCEL|MB_ICONQUESTION);
- if(ret == IDOK)
- {
- WinHelp(hwnd, szHelpPath, HELP_QUIT, 0);
- DestroyWindow(hwnd);
- }
-
+ DestroyWindow(hwnd);
return 0;
}