Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / interface / interface_ops.c
index ad4aaf599989a0e6bff6ad5fd2978d9f34019752..9e31e8729d523f0b276ea6b3305347ba4b9475c6 100644 (file)
@@ -943,7 +943,8 @@ static int reports_to_text_exec(bContext *C, wmOperator *UNUSED(op))
        str = BKE_reports_string(reports, (G.debug & G_DEBUG) ? RPT_DEBUG : RPT_INFO);
 
        if (str) {
-               BKE_text_write(txt, str);
+               TextUndoBuf *utxt = NULL; // FIXME
+               BKE_text_write(txt, utxt, str);
                MEM_freeN(str);
 
                return OPERATOR_FINISHED;