From 55adaa8bf187c75a5f31b7a3e30605bbe2ebf422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Thu, 17 Mar 2022 16:44:34 +0000 Subject: [PATCH] Fix too many opening parens in src/rtextures.c 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)