Module: wine Branch: master Commit: 89b469cb2f74dd2c66bdcc5be25f2153ecd7d01f URL: http://source.winehq.org/git/wine.git/?a=commit;h=89b469cb2f74dd2c66bdcc5be2...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Aug 31 09:57:51 2009 +0200
dxdiag: Make the "cmdline" parameter const.
---
programs/dxdiag/main.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/dxdiag/main.c b/programs/dxdiag/main.c index 5334b22..4e73b4b 100644 --- a/programs/dxdiag/main.c +++ b/programs/dxdiag/main.c @@ -33,9 +33,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(dxdiag); 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]; int opt_t = FALSE; int opt_x = FALSE;