mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-16 22:32:37 +03:00
lsteamclient: Clear last error in create_win_interface().
CW-Bug-Id: #23178
This commit is contained in:
parent
1eb8799803
commit
22672c5b0a
@ -301,6 +301,7 @@ struct w_steam_iface *create_win_interface(const char *name, void *u_iface)
|
|||||||
done:
|
done:
|
||||||
LeaveCriticalSection(&steamclient_cs);
|
LeaveCriticalSection(&steamclient_cs);
|
||||||
if (!ret) ERR("Don't recognize interface name: %s\n", name);
|
if (!ret) ERR("Don't recognize interface name: %s\n", name);
|
||||||
|
SetLastError(0);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user