Function get_localized_dayname() already returns the number of characters written, so the lstrlenW() into DrawTextW() could just replaced with that return value.
Sincerely.
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>