diff options
Diffstat (limited to 'graphics/asymptote/locate.cc')
-rw-r--r-- | graphics/asymptote/locate.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/asymptote/locate.cc b/graphics/asymptote/locate.cc index 52967d9fbd..bb34cbaaf3 100644 --- a/graphics/asymptote/locate.cc +++ b/graphics/asymptote/locate.cc @@ -12,7 +12,7 @@ #include "locate.h" - + namespace settings { namespace fs { @@ -28,7 +28,7 @@ string extension(string name) bool exists(string filename) { - return ::access(filename.c_str(), R_OK) == 0; + return ::access(filename.c_str(), R_OK) == 0; } } // namespace fs @@ -77,7 +77,7 @@ string locateFile(string id, bool full) (*leaf)[p]='/'; leaf->insert(0,"/cygdrive/"); } -#endif +#endif if ((*leaf)[0] == '/') { string file = *leaf; @@ -91,11 +91,11 @@ string locateFile(string id, bool full) if (fs::exists(file)) return file; } - } + } } return string(); } } // namespace settings - + |