mirror of
https://github.com/reactos/reactos.git
synced 2025-07-03 23:31:22 +00:00
[FORMATTING] Fix indentation (4 spaces)
svn path=/trunk/; revision=33485
This commit is contained in:
parent
abab705b13
commit
85de27e4af
1 changed files with 62 additions and 93 deletions
|
@ -15,10 +15,7 @@
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcmpA(
|
lstrcmpA(LPCSTR lpString1, LPCSTR lpString2)
|
||||||
LPCSTR lpString1,
|
|
||||||
LPCSTR lpString2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
int Result;
|
int Result;
|
||||||
|
|
||||||
|
@ -41,10 +38,7 @@ lstrcmpA(
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcmpiA(
|
lstrcmpiA(LPCSTR lpString1, LPCSTR lpString2)
|
||||||
LPCSTR lpString1,
|
|
||||||
LPCSTR lpString2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
int Result;
|
int Result;
|
||||||
|
|
||||||
|
@ -55,9 +49,9 @@ lstrcmpiA(
|
||||||
if (lpString2 == NULL)
|
if (lpString2 == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
Result = CompareStringA(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1,
|
Result = CompareStringA(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2, -1);
|
||||||
lpString2, -1);
|
if (Result)
|
||||||
if (Result) Result -= 2;
|
Result -= 2;
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
@ -67,11 +61,7 @@ lstrcmpiA(
|
||||||
*/
|
*/
|
||||||
LPSTR
|
LPSTR
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcpynA(
|
lstrcpynA(LPSTR lpString1, LPCSTR lpString2, int iMaxLength)
|
||||||
LPSTR lpString1,
|
|
||||||
LPCSTR lpString2,
|
|
||||||
int iMaxLength
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
LPSTR d = lpString1;
|
LPSTR d = lpString1;
|
||||||
LPCSTR s = lpString2;
|
LPCSTR s = lpString2;
|
||||||
|
@ -85,7 +75,9 @@ lstrcpynA(
|
||||||
count--;
|
count--;
|
||||||
*d++ = *s++;
|
*d++ = *s++;
|
||||||
}
|
}
|
||||||
if (count) *d = 0;
|
|
||||||
|
if (count)
|
||||||
|
*d = 0;
|
||||||
|
|
||||||
Ret = lpString1;
|
Ret = lpString1;
|
||||||
}
|
}
|
||||||
|
@ -101,10 +93,7 @@ lstrcpynA(
|
||||||
*/
|
*/
|
||||||
LPSTR
|
LPSTR
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcpyA(
|
lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
|
||||||
LPSTR lpString1,
|
|
||||||
LPCSTR lpString2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
LPSTR Ret = NULL;
|
LPSTR Ret = NULL;
|
||||||
|
|
||||||
|
@ -125,10 +114,7 @@ lstrcpyA(
|
||||||
*/
|
*/
|
||||||
LPSTR
|
LPSTR
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcatA(
|
lstrcatA(LPSTR lpString1, LPCSTR lpString2)
|
||||||
LPSTR lpString1,
|
|
||||||
LPCSTR lpString2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
LPSTR Ret = NULL;
|
LPSTR Ret = NULL;
|
||||||
|
|
||||||
|
@ -140,7 +126,6 @@ lstrcatA(
|
||||||
_SEH_END;
|
_SEH_END;
|
||||||
|
|
||||||
return Ret;
|
return Ret;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -149,9 +134,7 @@ lstrcatA(
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrlenA(
|
lstrlenA(LPCSTR lpString)
|
||||||
LPCSTR lpString
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
INT Ret = 0;
|
INT Ret = 0;
|
||||||
|
|
||||||
|
@ -171,10 +154,7 @@ lstrlenA(
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcmpW(
|
lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2)
|
||||||
LPCWSTR lpString1,
|
|
||||||
LPCWSTR lpString2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
int Result;
|
int Result;
|
||||||
|
|
||||||
|
@ -186,7 +166,8 @@ lstrcmpW(
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
Result = CompareStringW(GetThreadLocale(), 0, lpString1, -1, lpString2, -1);
|
Result = CompareStringW(GetThreadLocale(), 0, lpString1, -1, lpString2, -1);
|
||||||
if (Result) Result -= 2;
|
if (Result)
|
||||||
|
Result -= 2;
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
@ -197,10 +178,7 @@ lstrcmpW(
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcmpiW(
|
lstrcmpiW(LPCWSTR lpString1, LPCWSTR lpString2)
|
||||||
LPCWSTR lpString1,
|
|
||||||
LPCWSTR lpString2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
int Result;
|
int Result;
|
||||||
|
|
||||||
|
@ -212,7 +190,8 @@ lstrcmpiW(
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
Result = CompareStringW(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2, -1);
|
Result = CompareStringW(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2, -1);
|
||||||
if (Result) Result -= 2;
|
if (Result)
|
||||||
|
Result -= 2;
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
@ -223,11 +202,7 @@ lstrcmpiW(
|
||||||
*/
|
*/
|
||||||
LPWSTR
|
LPWSTR
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcpynW(
|
lstrcpynW(LPWSTR lpString1, LPCWSTR lpString2, int iMaxLength)
|
||||||
LPWSTR lpString1,
|
|
||||||
LPCWSTR lpString2,
|
|
||||||
int iMaxLength
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
LPWSTR d = lpString1;
|
LPWSTR d = lpString1;
|
||||||
LPCWSTR s = lpString2;
|
LPCWSTR s = lpString2;
|
||||||
|
@ -241,7 +216,9 @@ lstrcpynW(
|
||||||
count--;
|
count--;
|
||||||
*d++ = *s++;
|
*d++ = *s++;
|
||||||
}
|
}
|
||||||
if (count) *d = 0;
|
|
||||||
|
if (count)
|
||||||
|
*d = 0;
|
||||||
|
|
||||||
Ret = lpString1;
|
Ret = lpString1;
|
||||||
}
|
}
|
||||||
|
@ -257,10 +234,7 @@ lstrcpynW(
|
||||||
*/
|
*/
|
||||||
LPWSTR
|
LPWSTR
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcpyW(
|
lstrcpyW(LPWSTR lpString1, LPCWSTR lpString2)
|
||||||
LPWSTR lpString1,
|
|
||||||
LPCWSTR lpString2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
LPWSTR Ret = NULL;
|
LPWSTR Ret = NULL;
|
||||||
|
|
||||||
|
@ -280,10 +254,7 @@ lstrcpyW(
|
||||||
*/
|
*/
|
||||||
LPWSTR
|
LPWSTR
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrcatW(
|
lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
|
||||||
LPWSTR lpString1,
|
|
||||||
LPCWSTR lpString2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
LPWSTR Ret = NULL;
|
LPWSTR Ret = NULL;
|
||||||
|
|
||||||
|
@ -303,9 +274,7 @@ lstrcatW(
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
lstrlenW(
|
lstrlenW(LPCWSTR lpString)
|
||||||
LPCWSTR lpString
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
INT Ret = 0;
|
INT Ret = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue