Commit bf527446 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

taskmgr: Print GetLastError() in decimal with '%u'.

parent f46cfe60
......@@ -731,8 +731,8 @@ LPTSTR GetLastErrorText(LPTSTR lpszBuf, DWORD dwSize)
if (!dwRet || ( (long)dwSize < (long)dwRet+14)) {
lpszBuf[0] = TEXT('\0');
} else {
lpszTemp[lstrlen(lpszTemp)-2] = TEXT('\0'); /*remove cr and newline character */
_stprintf(lpszBuf, TEXT("%s (0x%x)"), lpszTemp, (int)GetLastError());
lpszTemp[lstrlen(lpszTemp)-2] = TEXT('\0'); /* remove cr and newline character */
_stprintf(lpszBuf, TEXT("%s (%u)"), lpszTemp, GetLastError());
}
if (lpszTemp) {
LocalFree((HLOCAL)lpszTemp);
......
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