[Bf-blender-cvs] [70218ad] master: Style Cleanup: whitespace

Campbell Barton noreply at git.blender.org
Fri Nov 22 16:06:48 CET 2013


Commit: 70218ad14d156d47d729cd05e6ad993b4e7048a0
Author: Campbell Barton
Date:   Sat Nov 23 02:06:06 2013 +1100
http://developer.blender.org/rB70218ad14d156d47d729cd05e6ad993b4e7048a0

Style Cleanup: whitespace

===================================================================

M	source/blender/editors/space_file/file_ops.c

===================================================================

diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c
index ebc232e..ca2f7b4 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -1266,7 +1266,7 @@ int file_filename_exec(bContext *C, wmOperator *UNUSED(unused))
 		matched_file[0] = '\0';
 		filepath[0] = '\0';
 
-		if (matches = file_select_match(sfile, sfile->params->file, matched_file)) {
+		if ((matches = file_select_match(sfile, sfile->params->file, matched_file))) {
 			/* int i, numfiles = filelist_numfiles(sfile->files); */ /* XXX UNUSED */
 			sfile->params->file[0] = '\0';
 			/* replace the pattern (or filename that the user typed in, with the first selected file of the match */
@@ -1287,7 +1287,7 @@ int file_filename_exec(bContext *C, wmOperator *UNUSED(unused))
 				file_change_dir(C, 1);
 				WM_event_add_notifier(C, NC_SPACE | ND_SPACE_FILE_PARAMS, NULL);
 			}
-			else if (sfile->params->type == FILE_LOADLIB){
+			else if (sfile->params->type == FILE_LOADLIB) {
 				char tdir[FILE_MAX], tgroup[FILE_MAX];
 				BLI_add_slash(filepath);
 				if (BLO_is_a_library(filepath, tdir, tgroup)) {




More information about the Bf-blender-cvs mailing list