From f14a8bfa4e7ff4f7108a2adb9a3d9dd187285cdc Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 1 Dec 2021 21:33:02 +0300 Subject: [PATCH] fix whitespace. --- src/stdlib/SDL_iconv.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c index e7a9480f0..ec7715f44 100644 --- a/src/stdlib/SDL_iconv.c +++ b/src/stdlib/SDL_iconv.c @@ -146,7 +146,7 @@ static struct { "US-ASCII", ENCODING_ASCII }, { "8859-1", ENCODING_LATIN1 }, { "ISO-8859-1", ENCODING_LATIN1 }, -#if defined(__WIN32__)||defined(__OS2__) +#if defined(__WIN32__) || defined(__OS2__) { "WCHAR_T", ENCODING_UTF16LE }, #else { "WCHAR_T", ENCODING_UCS4NATIVE }, @@ -887,8 +887,7 @@ SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf, break; } /* Avoid infinite loops when nothing gets converted */ - if (oldinbytesleft == inbytesleft) - { + if (oldinbytesleft == inbytesleft) { break; } }