19 May
2022
19 May
'22
8:36 a.m.
On 5/19/22 10:58, Dmitry Timoshkov wrote:
Nikolay Sivov <nsivov(a)codeweavers.com> wrote:
+ if (FAILED(hres = to_system_time(args, &st))) return hres; + + return FAILED(hres) ? hres : return_short(res, 1 + (7 - first_day + st.wDayOfWeek) % 7); } Last FAILED() seems to be redundant. And to_int() failure probably should be handled earlier, otherwise it seems to be lost.
Thank you.