Merging r57729 through r57815 from trunk into soc-2013-depsgraph_mt
[blender.git] / source / blender / windowmanager / intern / wm_event_system.c
index b171006b0b8d784218e30c4ea26a2a8383b1e256..d91f954fca27dda48ae6c4178565aa24490f3181 100644 (file)
@@ -1661,7 +1661,7 @@ static int wm_handler_fileselect_call(bContext *C, ListBase *handlers, wmEventHa
                                        if (win_prev == NULL)
                                                CTX_wm_window_set(C, CTX_wm_manager(C)->windows.first);
 
-                                       handler->op->reports->printlevel = RPT_WARNING;
+                                       BKE_report_print_level_set(handler->op->reports, RPT_WARNING);
                                        uiPupMenuReports(C, handler->op->reports);
 
                                        /* XXX - copied from 'wm_operator_finished()' */