]> git.lyx.org Git - lyx.git/commitdiff
Indentation
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 25 Mar 2019 15:32:08 +0000 (16:32 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 25 Mar 2019 15:46:03 +0000 (16:46 +0100)
src/support/Package.cpp

index 8b6fa0b03ae8becd97c3bc5c7b6caaa3245ecca7..284b5689daf93a77ab909a56d62e2a2a76a0a039 100644 (file)
@@ -325,12 +325,12 @@ bool inBuildDir(FileName const & abs_binary,
 
        // Note that the name of the lyx binary may be a symbolic link.
        // If that is the case, then we follow the links too.
-    FileName binary = abs_binary;
+       FileName binary = abs_binary;
        while (true) {
                // Try and find "lyxrc.defaults".
-               if( isBuildDir(binary, "../", build_support_dir) ||
-            isBuildDir(binary, "../../", build_support_dir))
-        {
+               if ( isBuildDir(binary, "../", build_support_dir)
+                   || isBuildDir(binary, "../../", build_support_dir))
+               {
                        // Try and find "chkconfig.ltx".
                        system_support_dir =
                                FileName(addPath(Package::top_srcdir().absFileName(), "lib"));
@@ -359,7 +359,7 @@ bool inBuildDir(FileName const & abs_binary,
        system_support_dir = FileName();
        build_support_dir = FileName();
 
-    return false;
+       return false;
 }