diff options
Diffstat (limited to 'structures.cpp')
-rw-r--r-- | structures.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/structures.cpp b/structures.cpp index 5b2d4336..3147eb4c 100644 --- a/structures.cpp +++ b/structures.cpp @@ -211,7 +211,7 @@ int daysSinceBeginOfWeek(int dayOfWeek) //0-6, 0=Monday, 6=Sunday LOCALE_IFIRSTDAYOFWEEK | // first day of week specifier, 0-6, 0=Monday, 6=Sunday LOCALE_RETURN_NUMBER, //__in LCTYPE LCType, reinterpret_cast<LPTSTR>(&firstDayOfWeek), //__out LPTSTR lpLCData, - sizeof(firstDayOfWeek) / sizeof(TCHAR)) != 0) //__in int cchData + sizeof(firstDayOfWeek) / sizeof(TCHAR)) > 0) //__in int cchData { assert(firstDayOfWeek <= 6); return (dayOfWeek + (7 - firstDayOfWeek)) % 7; |