diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 17:32:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 17:32:54 +0300 |
commit | 5513da65b24a3ce77b1709acea841475115f3a7a (patch) | |
tree | 20bd4d26f20ac63ebf776cea3a0220c11258f06d /source/blender/blenlib/intern/winstuff.c | |
parent | f19ecdeec64506415b9a9f75293df866691bbd28 (diff) |
Cleanup: trailing space for BLI
Diffstat (limited to 'source/blender/blenlib/intern/winstuff.c')
-rw-r--r-- | source/blender/blenlib/intern/winstuff.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenlib/intern/winstuff.c b/source/blender/blenlib/intern/winstuff.c index d6834428376..bf0b28b5cc2 100644 --- a/source/blender/blenlib/intern/winstuff.c +++ b/source/blender/blenlib/intern/winstuff.c @@ -61,9 +61,9 @@ int BLI_getInstallationDir(char *str) BLI_split_dir_part(str, dir, sizeof(dir)); /* shouldn't be relative */ a = strlen(dir); if (dir[a - 1] == '\\') dir[a - 1] = 0; - + strcpy(str, dir); - + return 1; } @@ -155,7 +155,7 @@ void RegisterBlendExtension(void) } if (lresult != ERROR_SUCCESS) RegisterBlendExtension_Fail(root); - + BLI_getInstallationDir(InstallDir); GetSystemDirectory(SysDir, FILE_MAXDIR); #ifdef _WIN64 @@ -182,8 +182,8 @@ void RegisterBlendExtension(void) void get_default_root(char *root) { char str[MAX_PATH + 1]; - - /* the default drive to resolve a directory without a specified drive + + /* the default drive to resolve a directory without a specified drive * should be the Windows installation drive, since this was what the OS * assumes. */ if (GetWindowsDirectory(str, MAX_PATH + 1)) { @@ -193,7 +193,7 @@ void get_default_root(char *root) root[3] = '\0'; } else { - /* if GetWindowsDirectory fails, something has probably gone wrong, + /* if GetWindowsDirectory fails, something has probably gone wrong, * we are trying the blender install dir though */ if (GetModuleFileName(NULL, str, MAX_PATH + 1)) { printf("Error! Could not get the Windows Directory - " |