Commit 89b469cb authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

dxdiag: Make the "cmdline" parameter const.

parent 974ac06f
...@@ -33,9 +33,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(dxdiag); ...@@ -33,9 +33,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(dxdiag);
quotes are optional around the filename, even if it contains spaces. quotes are optional around the filename, even if it contains spaces.
*/ */
static BOOL ProcessCommandLine(LPWSTR cmdline) static BOOL ProcessCommandLine(const WCHAR *s)
{ {
const WCHAR *s = cmdline;
WCHAR outfile[MAX_PATH+1]; WCHAR outfile[MAX_PATH+1];
int opt_t = FALSE; int opt_t = FALSE;
int opt_x = FALSE; int opt_x = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment