mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-03 16:36:26 +00:00
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 ;-)
This commit is contained in:
@@ -306,10 +306,9 @@ Image LoadImageFromMemory(const char *fileType, const unsigned char *fileData, i
|
|||||||
{
|
{
|
||||||
Image image = { 0 };
|
Image image = { 0 };
|
||||||
|
|
||||||
#if defined(SUPPORT_FILEFORMAT_PNG)
|
|
||||||
if ((strcmp(fileType, ".png") == 0)
|
|
||||||
#else
|
|
||||||
if ((false)
|
if ((false)
|
||||||
|
#if defined(SUPPORT_FILEFORMAT_PNG)
|
||||||
|
|| (strcmp(fileType, ".png") == 0)
|
||||||
#endif
|
#endif
|
||||||
#if defined(SUPPORT_FILEFORMAT_BMP)
|
#if defined(SUPPORT_FILEFORMAT_BMP)
|
||||||
|| (strcmp(fileType, ".bmp") == 0)
|
|| (strcmp(fileType, ".bmp") == 0)
|
||||||
|
Reference in New Issue
Block a user