- fixed last commit.

This commit is contained in:
Christoph Oelckers 2020-01-08 17:36:00 +01:00
parent cfed7afd02
commit f513692a08
2 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ CVAR(Bool, disableautoload, false, CVAR_ARCHIVE | CVAR_NOINITCALL | CVAR_GLOBALC
// //
//========================================================================== //==========================================================================
static bool grab_mouse; bool grab_mouse;
void mouseGrabInput(bool grab) void mouseGrabInput(bool grab)
{ {

View file

@ -128,10 +128,10 @@ void G_AddExternalSearchPaths(TArray<FString> &searchpaths)
{ {
// 3D Realms Anthology // 3D Realms Anthology
char buf[PATH_MAX]; char buf[PATH_MAX];
bufsize = sizeof(buf); DWORD bufsize = sizeof(buf);
if (Paths_ReadRegistryValue(entry.regPath, entry.regKey, buf, &bufsize)) if (Paths_ReadRegistryValue(entry.regPath, entry.regKey, buf, &bufsize))
{ {
if (!entry.subpaths) AddSearchPath(buf); if (!entry.subpaths) AddSearchPath(searchpaths, buf);
else else
{ {
FString path; FString path;