[FORMATTING] Fix indentation (4 spaces)

svn path=/trunk/; revision=33485
This commit is contained in:
Colin Finck 2008-05-12 20:11:11 +00:00
parent abab705b13
commit 85de27e4af

View file

@ -15,10 +15,7 @@
*/
int
STDCALL
lstrcmpA(
LPCSTR lpString1,
LPCSTR lpString2
)
lstrcmpA(LPCSTR lpString1, LPCSTR lpString2)
{
int Result;
@ -41,10 +38,7 @@ lstrcmpA(
*/
int
STDCALL
lstrcmpiA(
LPCSTR lpString1,
LPCSTR lpString2
)
lstrcmpiA(LPCSTR lpString1, LPCSTR lpString2)
{
int Result;
@ -55,9 +49,9 @@ lstrcmpiA(
if (lpString2 == NULL)
return 1;
Result = CompareStringA(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1,
lpString2, -1);
if (Result) Result -= 2;
Result = CompareStringA(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2, -1);
if (Result)
Result -= 2;
return Result;
}
@ -67,11 +61,7 @@ lstrcmpiA(
*/
LPSTR
STDCALL
lstrcpynA(
LPSTR lpString1,
LPCSTR lpString2,
int iMaxLength
)
lstrcpynA(LPSTR lpString1, LPCSTR lpString2, int iMaxLength)
{
LPSTR d = lpString1;
LPCSTR s = lpString2;
@ -85,7 +75,9 @@ lstrcpynA(
count--;
*d++ = *s++;
}
if (count) *d = 0;
if (count)
*d = 0;
Ret = lpString1;
}
@ -101,10 +93,7 @@ lstrcpynA(
*/
LPSTR
STDCALL
lstrcpyA(
LPSTR lpString1,
LPCSTR lpString2
)
lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
{
LPSTR Ret = NULL;
@ -125,10 +114,7 @@ lstrcpyA(
*/
LPSTR
STDCALL
lstrcatA(
LPSTR lpString1,
LPCSTR lpString2
)
lstrcatA(LPSTR lpString1, LPCSTR lpString2)
{
LPSTR Ret = NULL;
@ -140,7 +126,6 @@ lstrcatA(
_SEH_END;
return Ret;
}
@ -149,9 +134,7 @@ lstrcatA(
*/
int
STDCALL
lstrlenA(
LPCSTR lpString
)
lstrlenA(LPCSTR lpString)
{
INT Ret = 0;
@ -171,10 +154,7 @@ lstrlenA(
*/
int
STDCALL
lstrcmpW(
LPCWSTR lpString1,
LPCWSTR lpString2
)
lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2)
{
int Result;
@ -186,7 +166,8 @@ lstrcmpW(
return 1;
Result = CompareStringW(GetThreadLocale(), 0, lpString1, -1, lpString2, -1);
if (Result) Result -= 2;
if (Result)
Result -= 2;
return Result;
}
@ -197,10 +178,7 @@ lstrcmpW(
*/
int
STDCALL
lstrcmpiW(
LPCWSTR lpString1,
LPCWSTR lpString2
)
lstrcmpiW(LPCWSTR lpString1, LPCWSTR lpString2)
{
int Result;
@ -212,7 +190,8 @@ lstrcmpiW(
return 1;
Result = CompareStringW(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2, -1);
if (Result) Result -= 2;
if (Result)
Result -= 2;
return Result;
}
@ -223,11 +202,7 @@ lstrcmpiW(
*/
LPWSTR
STDCALL
lstrcpynW(
LPWSTR lpString1,
LPCWSTR lpString2,
int iMaxLength
)
lstrcpynW(LPWSTR lpString1, LPCWSTR lpString2, int iMaxLength)
{
LPWSTR d = lpString1;
LPCWSTR s = lpString2;
@ -241,7 +216,9 @@ lstrcpynW(
count--;
*d++ = *s++;
}
if (count) *d = 0;
if (count)
*d = 0;
Ret = lpString1;
}
@ -257,10 +234,7 @@ lstrcpynW(
*/
LPWSTR
STDCALL
lstrcpyW(
LPWSTR lpString1,
LPCWSTR lpString2
)
lstrcpyW(LPWSTR lpString1, LPCWSTR lpString2)
{
LPWSTR Ret = NULL;
@ -280,10 +254,7 @@ lstrcpyW(
*/
LPWSTR
STDCALL
lstrcatW(
LPWSTR lpString1,
LPCWSTR lpString2
)
lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
{
LPWSTR Ret = NULL;
@ -303,9 +274,7 @@ lstrcatW(
*/
int
STDCALL
lstrlenW(
LPCWSTR lpString
)
lstrlenW(LPCWSTR lpString)
{
INT Ret = 0;