Corrected indentation of 7zip support file to adhere to RA standards

This commit is contained in:
Timo Strunk 2014-09-02 16:47:51 +02:00
parent 3d400468f9
commit fab75f5e6d

View File

@ -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
}