Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)
This commit is contained in:
@@ -97,8 +97,9 @@ const GHOST_TUns8 *GHOST_SystemPathsUnix::getUserDir(int version, const char *ve
|
||||
else {
|
||||
home = getenv("HOME");
|
||||
|
||||
if (home == NULL)
|
||||
if (home == NULL) {
|
||||
home = getpwuid(getuid())->pw_dir;
|
||||
}
|
||||
|
||||
user_path = string(home) + "/.config/blender/" + versionstr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user