19 May
2022
19 May
'22
7:58 a.m.
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. -- Dmitry.