Fixed indentation.
This commit is contained in:
parent
9a7fdc2fbc
commit
269511026f
|
@ -55,7 +55,7 @@ static TCHAR *szTitle = "rundll32";
|
||||||
static TCHAR *szWindowClass = "class_rundll32";
|
static TCHAR *szWindowClass = "class_rundll32";
|
||||||
|
|
||||||
static ATOM MyRegisterClass(HINSTANCE hInstance)
|
static ATOM MyRegisterClass(HINSTANCE hInstance)
|
||||||
{
|
{
|
||||||
WNDCLASSEX wcex;
|
WNDCLASSEX wcex;
|
||||||
|
|
||||||
wcex.cbSize = sizeof(WNDCLASSEX);
|
wcex.cbSize = sizeof(WNDCLASSEX);
|
||||||
|
@ -73,10 +73,10 @@ static ATOM MyRegisterClass(HINSTANCE hInstance)
|
||||||
wcex.hIconSm = NULL;
|
wcex.hIconSm = NULL;
|
||||||
|
|
||||||
return RegisterClassEx(&wcex);
|
return RegisterClassEx(&wcex);
|
||||||
}
|
}
|
||||||
|
|
||||||
static LPWSTR GetNextArg(LPCWSTR *cmdline)
|
static LPWSTR GetNextArg(LPCWSTR *cmdline)
|
||||||
{
|
{
|
||||||
LPCWSTR s;
|
LPCWSTR s;
|
||||||
LPWSTR arg,d;
|
LPWSTR arg,d;
|
||||||
int in_quotes,bcount,len=0;
|
int in_quotes,bcount,len=0;
|
||||||
|
@ -141,7 +141,7 @@ static LPWSTR GetNextArg(LPCWSTR *cmdline)
|
||||||
/* a regular character */
|
/* a regular character */
|
||||||
*d++=*s++;
|
*d++=*s++;
|
||||||
bcount=0;
|
bcount=0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*d=0;
|
*d=0;
|
||||||
*cmdline=s;
|
*cmdline=s;
|
||||||
|
@ -263,9 +263,9 @@ int main(int argc, char* argv[])
|
||||||
pEntryPointA(hWnd,hDll,szArguments,SW_SHOWDEFAULT);
|
pEntryPointA(hWnd,hDll,szArguments,SW_SHOWDEFAULT);
|
||||||
if (szArguments)
|
if (szArguments)
|
||||||
HeapFree(GetProcessHeap(),0,szArguments);
|
HeapFree(GetProcessHeap(),0,szArguments);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Windows has a MessageBox here... */
|
/* Windows has a MessageBox here... */
|
||||||
WINE_WARN("Unable to find the entry point: %s\n",szProcName);
|
WINE_WARN("Unable to find the entry point: %s\n",szProcName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue