From 9ecbc465a934fdde9e3d69a709370a370bf193a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Fri, 18 Mar 2022 11:32:00 +0000 Subject: [PATCH] Fix too many opening parens in src/rtextures.c (#2398) This is a tiny change that makes code in src/rtextures.c "fold" correctly in editors/IDE's by matching the number of opening parenthesis to closing parenthesis. One of those editors is Emacs ;-) --- src/rtextures.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rtextures.c b/src/rtextures.c index c4cf1903e8a3..d1e14db75c25 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -306,10 +306,9 @@ Image LoadImageFromMemory(const char *fileType, const unsigned char *fileData, i { Image image = { 0 }; -#if defined(SUPPORT_FILEFORMAT_PNG) - if ((strcmp(fileType, ".png") == 0) -#else if ((false) +#if defined(SUPPORT_FILEFORMAT_PNG) + || (strcmp(fileType, ".png") == 0) #endif #if defined(SUPPORT_FILEFORMAT_BMP) || (strcmp(fileType, ".bmp") == 0)