Huw Davies : vbscript: The first day of the week should default to Sunday, not the system default.
Alexandre Julliard
julliard at winehq.org
Wed Oct 31 17:17:21 CDT 2012
Module: wine
Branch: master
Commit: 908c2d44e1fdb2c3039e8505bd0269fedb3f0614
URL: http://source.winehq.org/git/wine.git/?a=commit;h=908c2d44e1fdb2c3039e8505bd0269fedb3f0614
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Oct 31 12:06:23 2012 +0000
vbscript: The first day of the week should default to Sunday, not the system default.
---
dlls/vbscript/global.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/vbscript/global.c b/dlls/vbscript/global.c
index 900242b..420a5a5 100644
--- a/dlls/vbscript/global.c
+++ b/dlls/vbscript/global.c
@@ -1426,7 +1426,7 @@ static HRESULT Global_FormatDateTime(vbdisp_t *This, VARIANT *arg, unsigned args
static HRESULT Global_WeekdayName(vbdisp_t *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
{
- int weekday, first_day = 0, abbrev = 0;
+ int weekday, first_day = 1, abbrev = 0;
BSTR ret;
HRESULT hres;
More information about the wine-cvs
mailing list