mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 22:20:59 +00:00
Corrected indentation of 7zip support file to adhere to RA standards
This commit is contained in:
parent
3d400468f9
commit
fab75f5e6d
@ -110,7 +110,7 @@ static SRes Utf16_To_Char(CBuf *buf, const UInt16 *s, int fileMode)
|
||||
int len = 0;
|
||||
for (len = 0; s[len] != '\0'; len++);
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _WIN32
|
||||
{
|
||||
int size = len * 3 + 100;
|
||||
if (!Buf_EnsureSize(buf, size))
|
||||
@ -120,11 +120,11 @@ static SRes Utf16_To_Char(CBuf *buf, const UInt16 *s, int fileMode)
|
||||
BOOL defUsed;
|
||||
int numChars = WideCharToMultiByte(fileMode ?
|
||||
(
|
||||
#ifdef UNDER_CE
|
||||
#ifdef UNDER_CE
|
||||
CP_ACP
|
||||
#else
|
||||
#else
|
||||
AreFileApisANSI() ? CP_ACP : CP_OEMCP
|
||||
#endif
|
||||
#endif
|
||||
) : CP_OEMCP,
|
||||
0, s, len, (char *)buf->data, size, &defaultChar, &defUsed);
|
||||
if (numChars == 0 || numChars >= size)
|
||||
@ -133,10 +133,10 @@ static SRes Utf16_To_Char(CBuf *buf, const UInt16 *s, int fileMode)
|
||||
return SZ_OK;
|
||||
}
|
||||
}
|
||||
#else
|
||||
#else
|
||||
fileMode = fileMode;
|
||||
return Utf16_To_Utf8Buf(buf, s, len);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user