mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- fixed last commit.
This commit is contained in:
parent
cfed7afd02
commit
f513692a08
2 changed files with 3 additions and 3 deletions
|
@ -128,10 +128,10 @@ void G_AddExternalSearchPaths(TArray<FString> &searchpaths)
|
|||
{
|
||||
// 3D Realms Anthology
|
||||
char buf[PATH_MAX];
|
||||
bufsize = sizeof(buf);
|
||||
DWORD bufsize = sizeof(buf);
|
||||
if (Paths_ReadRegistryValue(entry.regPath, entry.regKey, buf, &bufsize))
|
||||
{
|
||||
if (!entry.subpaths) AddSearchPath(buf);
|
||||
if (!entry.subpaths) AddSearchPath(searchpaths, buf);
|
||||
else
|
||||
{
|
||||
FString path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue