2.5/RNA:
[blender.git] / source / blender / windowmanager / intern / wm_event_system.c
index dbb4086c541deafa2018a200b5e6606540da9421..05be825b3bd806172f30d5cd2eff7b9bf48206f3 100644 (file)
@@ -370,7 +370,7 @@ static wmOperator *wm_operator_create(wmWindowManager *wm, wmOperatorType *ot, P
 
 static void wm_operator_print(wmOperator *op)
 {
-       char *buf = WM_operator_pystring(op->type, op->ptr, 1);
+       char *buf = WM_operator_pystring(NULL, op->type, op->ptr, 1);
        printf("%s\n", buf);
        MEM_freeN(buf);
 }