summaryrefslogtreecommitdiff
path: root/platform/osx/dir_access_osx.mm
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-04-02 20:26:12 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-04-02 20:26:12 +0200
commit0a5472e697dee57956c2583a50bc5cf5faada5d8 (patch)
tree62e9d9616c9529cee5c6c85e18415bc8745966fe /platform/osx/dir_access_osx.mm
parent48f057ea816f4ae4b917cb110e399fcbfb4234a0 (diff)
Remove trailing spaces
Diffstat (limited to 'platform/osx/dir_access_osx.mm')
-rw-r--r--platform/osx/dir_access_osx.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/osx/dir_access_osx.mm b/platform/osx/dir_access_osx.mm
index 29f8fda663..20dc1df8f4 100644
--- a/platform/osx/dir_access_osx.mm
+++ b/platform/osx/dir_access_osx.mm
@@ -47,9 +47,9 @@ DirAccess *DirAccessOSX::create_fs() {
}
bool DirAccessOSX::list_dir_begin() {
-
+
list_dir_end(); //close any previous dir opening!
-
+
// char real_current_dir_name[2048]; //is this enough?!
//getcwd(real_current_dir_name,2048);
@@ -63,7 +63,7 @@ bool DirAccessOSX::list_dir_begin() {
}
bool DirAccessOSX::file_exists(String p_file) {
-
+
GLOBAL_LOCK_FUNCTION
@@ -207,7 +207,7 @@ Error DirAccessOSX::make_dir(String p_dir) {
GLOBAL_LOCK_FUNCTION
p_dir=fix_path(p_dir);
-
+
char real_current_dir_name[2048];
getcwd(real_current_dir_name,2048);
chdir(current_dir.utf8().get_data()); //ascii since this may be unicode or wathever the host os wants
@@ -326,7 +326,7 @@ size_t DirAccessOSX::get_space_left() {
#else
#warning THIS IS BROKEN
return 0;
-#endif
+#endif
};