Fixed SetLastError with wrong value.
This commit is contained in:
parent
5a50273f5b
commit
a975da05da
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue