- Scrollbars for the console (use View2D functions)
[blender-staging.git] / source / blender / windowmanager / intern / wm.c
index 6b3b128d34b3a74b3c5744a9a41b623e7447cd39..94200925a028a55d8eb26cfbffc7ccdcaaa292f0 100644 (file)
@@ -98,7 +98,7 @@ void wm_operator_register(bContext *C, wmOperator *op)
        
        /* Report the string representation of the operator */
        buf = WM_operator_pystring(op);
-       BKE_report(wm->reports, RPT_OPERATOR, buf);
+       BKE_report(CTX_wm_reports(C), RPT_OPERATOR, buf);
        MEM_freeN(buf);
        
        /* so the console is redrawn */