Commit a975da05 authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard

Fixed SetLastError with wrong value.

parent 5a50273f
......@@ -3081,7 +3081,6 @@ GetTimeFormat32A(LCID locale, /* in */
}
ret = OLE_GetFormatA(thislocale, thisflags, flags, thistime, thisformat,
timestr, timelen);
SetLastError(ret);
return ret;
}
......@@ -3137,6 +3136,5 @@ GetTimeFormat32W(LCID locale, /* in */
ret = OLE_GetFormatW(thislocale, thisflags, flags, thistime, thisformat,
timestr, timelen);
SetLastError(ret);
return ret;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment