Revert "Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)"

This reverts commit 935c9ab0de.

Clang-tidy was making unrelated *fixes*.
This commit is contained in:
Campbell Barton
2019-06-04 11:35:28 +10:00
parent 935c9ab0de
commit 0b36780fb4
29 changed files with 222 additions and 439 deletions

View File

@@ -97,9 +97,8 @@ 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;
}