minor changes, dont append with cmake platform flags which is a string and use enum...
[blender.git] / source / blender / editors / interface / interface.c
index bcf83f7bfb90d0ec947412d9b3ce6b365dc7f8a8..878b280118d507d1ae348691deaba74ce97cd14c 100644 (file)
@@ -2467,7 +2467,7 @@ static uiBut *ui_def_but(uiBlock *block, int type, int retval, const char *str,
        but->pointype= type & BUTPOIN;
        but->bit= type & BIT;
        but->bitnr= type & 31;
-       but->icon = 0;
+       but->icon = ICON_NONE;
        but->iconadd=0;
 
        but->retval= retval;