Merged changes in the trunk up to revision 42116.
[blender.git] / source / blender / editors / interface / interface_icons.c
index 1b7308d328e55925d17a53b3bd95a62b2a6315ab..a7d8c688f433c86ee979845722882ad353467a0f 100644 (file)
@@ -509,7 +509,7 @@ static void init_internal_icons(void)
        bTheme *btheme= UI_GetTheme();
        ImBuf *bbuf= NULL;
        int x, y, icontype;
-       char iconfilestr[FILE_MAXDIR+FILE_MAXFILE];
+       char iconfilestr[FILE_MAX];
        
        if ((btheme!=NULL) && btheme->tui.iconfile[0]) {
                char *icondir= BLI_get_folder(BLENDER_DATAFILES, "icons");