Code reformating.
authormarkus schnalke <meillo@marmaro.de>
Sat, 5 Nov 2011 18:07:47 +0000 (19:07 +0100)
committermarkus schnalke <meillo@marmaro.de>
Sat, 5 Nov 2011 18:07:47 +0000 (19:07 +0100)
sbr/utils.c

index 5c1253d..99c5510 100644 (file)
@@ -70,8 +70,8 @@ pwd(void)
 
        if (!getcwd(curwd, PATH_MAX)) {
                admonish(NULL, "unable to determine working directory");
-               if (!mypath || !*mypath
-                       || (strcpy(curwd, mypath), chdir(curwd)) == -1) {
+               if (!mypath || !*mypath ||
+                               (strcpy(curwd, mypath), chdir(curwd)) == -1) {
                        strcpy(curwd, "/");
                        chdir(curwd);
                }