Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-17 17:32:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-17 17:32:54 +0300
commit5513da65b24a3ce77b1709acea841475115f3a7a (patch)
tree20bd4d26f20ac63ebf776cea3a0220c11258f06d /source/blender/blenlib/intern/winstuff_dir.c
parentf19ecdeec64506415b9a9f75293df866691bbd28 (diff)
Cleanup: trailing space for BLI
Diffstat (limited to 'source/blender/blenlib/intern/winstuff_dir.c')
-rw-r--r--source/blender/blenlib/intern/winstuff_dir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/winstuff_dir.c b/source/blender/blenlib/intern/winstuff_dir.c
index bde0734a740..4e2a6976ce4 100644
--- a/source/blender/blenlib/intern/winstuff_dir.c
+++ b/source/blender/blenlib/intern/winstuff_dir.c
@@ -119,16 +119,16 @@ struct dirent *readdir(DIR *dp)
MEM_freeN(dp->direntry.d_name);
dp->direntry.d_name = NULL;
}
-
+
if (dp->handle == INVALID_HANDLE_VALUE) {
wchar_t *path_16 = alloc_utf16_from_8(dp->path, 0);
dp->handle = FindFirstFileW(path_16, &(dp->data));
free(path_16);
if (dp->handle == INVALID_HANDLE_VALUE)
return NULL;
-
+
dp->direntry.d_name = BLI_alloc_utf_8_from_16(dp->data.cFileName, 0);
-
+
return &dp->direntry;
}
else if (FindNextFileW(dp->handle, &(dp->data))) {
@@ -147,7 +147,7 @@ int closedir(DIR *dp)
if (dp->handle != INVALID_HANDLE_VALUE) FindClose(dp->handle);
MEM_freeN(dp);
-
+
return 0;
}