Author: cwittich
Date: Mon May 9 08:01:49 2016
New Revision: 71294
URL:
http://svn.reactos.org/svn/reactos?rev=71294&view=rev
Log:
ZeroMemory expects buffer size in bytes
Modified:
trunk/reactos/base/applications/games/solitaire/solitaire.cpp
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 [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/solitaire/solitaire.cpp [iso-8859-1] Mon May 9
08:01:49 2016
@@ -150,7 +150,7 @@
TCHAR szStatusText[128];
TCHAR szTempText[64];
- ZeroMemory(szStatusText, sizeof(szStatusText) / sizeof(TCHAR));
+ ZeroMemory(szStatusText, sizeof(szStatusText));
if (GetScoreMode() != SCORE_NONE)
{