Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_info/info_ops.c')
-rw-r--r--source/blender/editors/space_info/info_ops.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/editors/space_info/info_ops.c b/source/blender/editors/space_info/info_ops.c
index a4243f7c19e..5d3f3314bd9 100644
--- a/source/blender/editors/space_info/info_ops.c
+++ b/source/blender/editors/space_info/info_ops.c
@@ -26,6 +26,11 @@
* ***** END GPL LICENSE BLOCK *****
*/
+/** \file blender/editors/space_info/info_ops.c
+ * \ingroup spinfo
+ */
+
+
#include <string.h>
#include <stdio.h>
@@ -53,6 +58,7 @@
#include "UI_interface.h"
+#include "UI_resources.h"
#include "IMB_imbuf_types.h"
@@ -155,7 +161,7 @@ static int unpack_all_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(event)
else
sprintf(title, "Unpack %d files", count);
- pup= uiPupMenuBegin(C, title, ICON_NULL);
+ pup= uiPupMenuBegin(C, title, ICON_NONE);
layout= uiPupMenuLayout(pup);
uiLayoutSetOperatorContext(layout, WM_OP_EXEC_DEFAULT);
@@ -251,10 +257,6 @@ void FILE_OT_make_paths_absolute(wmOperatorType *ot)
static int report_missing_files_exec(bContext *UNUSED(C), wmOperator *op)
{
- char txtname[24]; /* text block name */
-
- txtname[0] = '\0';
-
/* run the missing file check */
checkMissingFiles(G.main, op->reports);