Nikolay Sivov : comctl32/monthcal: Don' t pass uninitialized data to MCM_SETTODAY, test isn't about this.
Module: wine Branch: master Commit: c044fa8a59bdb89e0fe164e0f43b41379a2fd09d URL: http://source.winehq.org/git/wine.git/?a=commit;h=c044fa8a59bdb89e0fe164e0f4... Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Thu Nov 19 16:20:20 2009 +0300 comctl32/monthcal: Don't pass uninitialized data to MCM_SETTODAY, test isn't about this. --- dlls/comctl32/tests/monthcal.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c index de6df2d..a7aeddd 100644 --- a/dlls/comctl32/tests/monthcal.c +++ b/dlls/comctl32/tests/monthcal.c @@ -1243,6 +1243,7 @@ static void test_monthcal_today(void) /* Setter and Getters for "today" information */ /* check for overflow, should be ok */ + memset(&st_test, 0, sizeof(st_test)); st_test.wDay = 38; st_test.wMonth = 38;
participants (1)
-
Alexandre Julliard