diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index d7b33d20c0f..13f3afdfc4c 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -711,7 +711,7 @@ bool WM_file_read(bContext *C, const char *filepath, ReportList *reports) /* so we can get the error message */ errno = 0; - WM_cursor_wait(1); + WM_cursor_wait(true); wm_file_read_pre(C, use_data, use_userdef); @@ -809,7 +809,7 @@ bool WM_file_read(bContext *C, const char *filepath, ReportList *reports) } } - WM_cursor_wait(0); + WM_cursor_wait(false); return success; } @@ -1498,7 +1498,7 @@ static bool wm_file_write(bContext *C, } /* don't forget not to return without! */ - WM_cursor_wait(1); + WM_cursor_wait(true); ED_editors_flush_edits(bmain); @@ -1560,7 +1560,7 @@ static bool wm_file_write(bContext *C, MEM_freeN(thumb); } - WM_cursor_wait(0); + WM_cursor_wait(false); return ok; } |