diff options
Diffstat (limited to 'source/blender/editors/space_file/file_ops.c')
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 548a51d9ee2..05de70b99ab 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -735,7 +735,7 @@ int file_exec(bContext *C, wmOperator *exec_op) wmOperator *op= sfile->op; /* when used as a macro, for doubleclick, - to prevent closing when doubleclicking on .. item */ + * to prevent closing when doubleclicking on .. item */ if (RNA_boolean_get(exec_op->ptr, "need_active")) { int i, active=0; @@ -996,8 +996,8 @@ void FILE_OT_smoothscroll(wmOperatorType *ot) /* create a new, non-existing folder name, returns 1 if successful, 0 if name couldn't be created. - The actual name is returned in 'name', 'folder' contains the complete path, including the new folder name. -*/ + * The actual name is returned in 'name', 'folder' contains the complete path, including the new folder name. + */ static int new_folder_path(const char* parent, char *folder, char *name) { int i = 1; @@ -1006,8 +1006,8 @@ static int new_folder_path(const char* parent, char *folder, char *name) BLI_strncpy(name, "New Folder", FILE_MAXFILE); BLI_join_dirfile(folder, FILE_MAX, parent, name); /* XXX, not real length */ /* check whether folder with the name already exists, in this case - add number to the name. Check length of generated name to avoid - crazy case of huge number of folders each named 'New Folder (x)' */ + * add number to the name. Check length of generated name to avoid + * crazy case of huge number of folders each named 'New Folder (x)' */ while (BLI_exists(folder) && (len<FILE_MAXFILE)) { len = BLI_snprintf(name, FILE_MAXFILE, "New Folder(%d)", i); BLI_join_dirfile(folder, FILE_MAX, parent, name); /* XXX, not real length */ |