Fix T41284: The python ops log doesn't work.
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 3 Aug 2014 19:17:24 +0000 (21:17 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 3 Aug 2014 19:17:41 +0000 (21:17 +0200)
source/blender/editors/util/ed_util.c

index 47fbfbe3eba1492403a1f4e99d6e431f945b9f09..56b12fcdcda1f0c4f9da2d55e43053a5797b4f46 100644 (file)
@@ -86,7 +86,7 @@ void ED_editors_init(bContext *C)
 
        /* This is called during initialization, so we don't want to store any reports */
        ReportList *reports = CTX_wm_reports(C);
-       int reports_flag_prev = reports->flag &= ~RPT_STORE;
+       int reports_flag_prev = reports->flag & ~RPT_STORE;
 
        SWAP(int, reports->flag, reports_flag_prev);