Merged changes in the trunk up to revision 42116.
[blender.git] / source / blender / editors / util / ed_util.c
index fef42866e2921ff4cd72777989de11d2e33a3a3c..1a1022a5c7fa84e2218c97fb3324e2891957ed9b 100644 (file)
@@ -164,7 +164,7 @@ void unpack_menu(bContext *C, const char *opname, const char *id_name, const cha
        PointerRNA props_ptr;
        uiPopupMenu *pup;
        uiLayout *layout;
-       char line[FILE_MAXDIR + FILE_MAXFILE + 100];
+       char line[FILE_MAX + 100];
 
        pup= uiPupMenuBegin(C, "Unpack file", ICON_NONE);
        layout= uiPupMenuLayout(pup);