From b037816980dee7a74128c23eface983b9850d4a9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 15 Mar 2020 17:32:06 +1100 Subject: Cleanup: shadow warning, clang-format --- source/blender/editors/interface/interface_icons.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/interface/interface_icons.c') diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c index 8dd449b4b67..a37b49f5b6e 100644 --- a/source/blender/editors/interface/interface_icons.c +++ b/source/blender/editors/interface/interface_icons.c @@ -183,9 +183,9 @@ static const IconType icontypes[] = { ImBuf *UI_alert_image(eAlertIcon icon) { -# ifdef WITH_HEADLESS +# ifdef WITH_HEADLESS return NULL -# else +# else ImBuf *ibuf; icon = MIN2(icon, ALERT_ICON_MAX - 1); const int left = icon * ALERT_IMG_SIZE; @@ -198,7 +198,7 @@ ImBuf *UI_alert_image(eAlertIcon icon) IMB_rect_crop(ibuf, &crop); IMB_premultiply_alpha(ibuf); return ibuf; -#endif +# endif } /* **************************************************** */ -- cgit v1.2.3