rogue5: remove some NULLs.
This commit is contained in:
parent
53a15a3e2e
commit
00669593bd
1 changed files with 2 additions and 2 deletions
|
|
@ -485,10 +485,10 @@ md_gethomedir(void)
|
||||||
if (pw != NULL)
|
if (pw != NULL)
|
||||||
h = pw->pw_dir;
|
h = pw->pw_dir;
|
||||||
else
|
else
|
||||||
h = NULL;
|
h = "";
|
||||||
|
|
||||||
if (strcmp(h,"/") == 0)
|
if (strcmp(h,"/") == 0)
|
||||||
h = NULL;
|
h = "";
|
||||||
#endif
|
#endif
|
||||||
homedir[0] = 0;
|
homedir[0] = 0;
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue