Author: cfinck
Date: Mon May 12 15:11:11 2008
New Revision: 33485
URL:
http://svn.reactos.org/svn/reactos?rev=33485&view=rev
Log:
[FORMATTING] Fix indentation (4 spaces)
Modified:
trunk/reactos/dll/win32/kernel32/string/lstring.c
Modified: trunk/reactos/dll/win32/kernel32/string/lstring.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/string/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/string/lstring.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/string/lstring.c [iso-8859-1] Mon May 12 15:11:11
2008
@@ -15,51 +15,45 @@
*/
int
STDCALL
-lstrcmpA(
- LPCSTR lpString1,
- LPCSTR lpString2
- )
-{
- int Result;
-
- if (lpString1 == lpString2)
- return 0;
- if (lpString1 == NULL)
- return -1;
- if (lpString2 == NULL)
- return 1;
-
- Result = CompareStringA(GetThreadLocale(), 0, lpString1, -1, lpString2, -1);
- if (Result) Result -= 2;
-
- return Result;
-}
-
-
-/*
- * @implemented
- */
-int
-STDCALL
-lstrcmpiA(
- LPCSTR lpString1,
- LPCSTR lpString2
- )
-{
- int Result;
-
- if (lpString1 == lpString2)
- return 0;
- if (lpString1 == NULL)
- return -1;
- if (lpString2 == NULL)
- return 1;
-
- Result = CompareStringA(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1,
- lpString2, -1);
- if (Result) Result -= 2;
-
- return Result;
+lstrcmpA(LPCSTR lpString1, LPCSTR lpString2)
+{
+ int Result;
+
+ if (lpString1 == lpString2)
+ return 0;
+ if (lpString1 == NULL)
+ return -1;
+ if (lpString2 == NULL)
+ return 1;
+
+ Result = CompareStringA(GetThreadLocale(), 0, lpString1, -1, lpString2, -1);
+ if (Result) Result -= 2;
+
+ return Result;
+}
+
+
+/*
+ * @implemented
+ */
+int
+STDCALL
+lstrcmpiA(LPCSTR lpString1, LPCSTR lpString2)
+{
+ int Result;
+
+ if (lpString1 == lpString2)
+ return 0;
+ if (lpString1 == NULL)
+ return -1;
+ if (lpString2 == NULL)
+ return 1;
+
+ Result = CompareStringA(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2,
-1);
+ if (Result)
+ Result -= 2;
+
+ return Result;
}
/*
@@ -67,11 +61,7 @@
*/
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 @@
count--;
*d++ = *s++;
}
- if (count) *d = 0;
+
+ if (count)
+ *d = 0;
Ret = lpString1;
}
@@ -101,10 +93,7 @@
*/
LPSTR
STDCALL
-lstrcpyA(
- LPSTR lpString1,
- LPCSTR lpString2
- )
+lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
{
LPSTR Ret = NULL;
@@ -112,7 +101,7 @@
{
memmove(lpString1, lpString2, strlen(lpString2) + 1);
Ret = lpString1;
- }
+ }
_SEH_HANDLE
_SEH_END;
@@ -125,10 +114,7 @@
*/
LPSTR
STDCALL
-lstrcatA(
- LPSTR lpString1,
- LPCSTR lpString2
- )
+lstrcatA(LPSTR lpString1, LPCSTR lpString2)
{
LPSTR Ret = NULL;
@@ -140,18 +126,15 @@
_SEH_END;
return Ret;
-
-}
-
-
-/*
- * @implemented
- */
-int
-STDCALL
-lstrlenA(
- LPCSTR lpString
- )
+}
+
+
+/*
+ * @implemented
+ */
+int
+STDCALL
+lstrlenA(LPCSTR lpString)
{
INT Ret = 0;
@@ -171,50 +154,46 @@
*/
int
STDCALL
-lstrcmpW(
- LPCWSTR lpString1,
- LPCWSTR lpString2
- )
-{
- int Result;
-
- if (lpString1 == lpString2)
- return 0;
- if (lpString1 == NULL)
- return -1;
- if (lpString2 == NULL)
- return 1;
-
- Result = CompareStringW(GetThreadLocale(), 0, lpString1, -1, lpString2, -1);
- if (Result) Result -= 2;
-
- return Result;
-}
-
-
-/*
- * @implemented
- */
-int
-STDCALL
-lstrcmpiW(
- LPCWSTR lpString1,
- LPCWSTR lpString2
- )
-{
- int Result;
-
- if (lpString1 == lpString2)
- return 0;
- if (lpString1 == NULL)
- return -1;
- if (lpString2 == NULL)
- return 1;
-
- Result = CompareStringW(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2,
-1);
- if (Result) Result -= 2;
-
- return Result;
+lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2)
+{
+ int Result;
+
+ if (lpString1 == lpString2)
+ return 0;
+ if (lpString1 == NULL)
+ return -1;
+ if (lpString2 == NULL)
+ return 1;
+
+ Result = CompareStringW(GetThreadLocale(), 0, lpString1, -1, lpString2, -1);
+ if (Result)
+ Result -= 2;
+
+ return Result;
+}
+
+
+/*
+ * @implemented
+ */
+int
+STDCALL
+lstrcmpiW(LPCWSTR lpString1, LPCWSTR lpString2)
+{
+ int Result;
+
+ if (lpString1 == lpString2)
+ return 0;
+ if (lpString1 == NULL)
+ return -1;
+ if (lpString2 == NULL)
+ return 1;
+
+ Result = CompareStringW(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2,
-1);
+ if (Result)
+ Result -= 2;
+
+ return Result;
}
@@ -223,11 +202,7 @@
*/
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 @@
count--;
*d++ = *s++;
}
- if (count) *d = 0;
+
+ if (count)
+ *d = 0;
Ret = lpString1;
}
@@ -257,10 +234,7 @@
*/
LPWSTR
STDCALL
-lstrcpyW(
- LPWSTR lpString1,
- LPCWSTR lpString2
- )
+lstrcpyW(LPWSTR lpString1, LPCWSTR lpString2)
{
LPWSTR Ret = NULL;
@@ -280,10 +254,7 @@
*/
LPWSTR
STDCALL
-lstrcatW(
- LPWSTR lpString1,
- LPCWSTR lpString2
- )
+lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
{
LPWSTR Ret = NULL;
@@ -303,9 +274,7 @@
*/
int
STDCALL
-lstrlenW(
- LPCWSTR lpString
- )
+lstrlenW(LPCWSTR lpString)
{
INT Ret = 0;