]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/path_init.c
Merge commit 'ddee6cbe7c5fcbba52e7881a411f310809b867f9' into master-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / path_init.c
index 9bc5dd340c75c414b55001c41d0a53fb6f5047a6..c9f26b32c706180c50accfc5c37a567ff9baaa60 100644 (file)
@@ -111,7 +111,7 @@ void LokiInitPaths( char *argv0 ){
                /* set home path */
                homePath = home;
        }
-       else {
+       else{
                home = homePath;
        }
 
@@ -188,6 +188,7 @@ void LokiInitPaths( char *argv0 ){
                                path++;
                        }
 
+
                        /* concatenate */
                        if ( last > ( path + 1 ) ) {
                                // +1 hack: Q_strncat calls Q_strncpyz that expects a len including '\0'
@@ -361,7 +362,7 @@ void AddHomeBasePath( char *path ){
                if ( access( temp, X_OK ) == 0 ) {
                        if ( customHomePath == qfalse ) {
                                tempHomePath = xdgDataHomePath;
-                       }
+       }
                        path = path + 1;
                }
                #endif // GDEF_OS_XDG