diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-01 18:47:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-01 18:47:06 +0400 |
commit | 0ac07404baf41aef65367395b86957ab1efa655f (patch) | |
tree | 993f127de5aeee9ef7415e7e2d84d0cf837f0bdf /source/blender/editors/space_file | |
parent | 462e4bee87f085ae775eaa953a832bfcf6503ca3 (diff) |
style cleanup: braces with multi-line statements, also add some comments.
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 9349abb4d8b..79a578a86d1 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -1178,11 +1178,10 @@ static void file_expand_directory(bContext *C) get_default_root(sfile->params->dir); } /* change "C:" --> "C:\", [#28102] */ - else if ( (isalpha(sfile->params->dir[0]) && - (sfile->params->dir[1] == ':')) && - (sfile->params->dir[2] == '\0') - - ) { + else if ((isalpha(sfile->params->dir[0]) && + (sfile->params->dir[1] == ':')) && + (sfile->params->dir[2] == '\0')) + { sfile->params->dir[2] = '\\'; sfile->params->dir[3] = '\0'; } |