diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-31 13:51:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-31 13:51:23 +0200 |
commit | b1663a49f512303550efeb117fb265dd6beb038c (patch) | |
tree | 0be0f85bf6798e5ae249238c14f87ed67d21c6cd /butl/path.cxx | |
parent | 49285226d66189e2cea6c8b1fa59a4273ad05bc0 (diff) |
Cosmetic changes
Diffstat (limited to 'butl/path.cxx')
-rw-r--r-- | butl/path.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/butl/path.cxx b/butl/path.cxx index 5d804a9..3ff06d8 100644 --- a/butl/path.cxx +++ b/butl/path.cxx @@ -38,7 +38,7 @@ namespace butl #ifdef _WIN32 char cwd[_MAX_PATH]; - if(_getcwd(cwd, _MAX_PATH) == 0) + if(_getcwd (cwd, _MAX_PATH) == 0) throw system_error (errno, system_category ()); #else char cwd[PATH_MAX]; @@ -54,7 +54,7 @@ namespace butl current (string_type const& s) { #ifdef _WIN32 - if(_chdir(s.c_str ()) != 0) + if(_chdir (s.c_str ()) != 0) throw system_error (errno, system_category ()); #else if (chdir (s.c_str ()) != 0) @@ -72,7 +72,7 @@ namespace butl { #ifdef _WIN32 wchar_t wcwd[_MAX_PATH]; - if(_wgetcwd(wcwd, _MAX_PATH) == 0) + if(_wgetcwd (wcwd, _MAX_PATH) == 0) throw system_error (errno, system_category ()); #else char cwd[PATH_MAX]; @@ -92,7 +92,7 @@ namespace butl current (string_type const& s) { #ifdef _WIN32 - if(_wchdir(s.c_str ()) != 0) + if(_wchdir (s.c_str ()) != 0) throw system_error (errno, system_category ()); #else char ns[PATH_MAX + 1]; |