Module: wine Branch: master Commit: 1f3c916f00a798e027841afda2c93265dcb53ce8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1f3c916f00a798e027841afda2...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Wed Dec 18 23:14:18 2013 +0100
regedit: Constify a character string.
---
programs/regedit/framewnd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c index 2e28670..1635b50 100644 --- a/programs/regedit/framewnd.c +++ b/programs/regedit/framewnd.c @@ -39,7 +39,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(regedit); * Global and Local Variables: */
-static WCHAR favoritesKey[] = {'S','o','f','t','w','a','r','e','\','M','i','c','r','o','s','o','f','t','\','W','i','n','d','o','w','s','\','C','u','r','r','e','n','t','V','e','r','s','i','o','n','\','A','p','p','l','e','t','s','\','R','e','g','E','d','i','t','\','F','a','v','o','r','i','t','e','s',0}; +static const WCHAR favoritesKey[] = {'S','o','f','t','w','a','r','e','\','M','i','c','r','o','s','o','f','t','\','W','i','n','d','o','w','s','\','C','u','r','r','e','n','t','V','e','r','s','i','o','n','\','A','p','p','l','e','t','s','\','R','e','g','E','d','i','t','\','F','a','v','o','r','i','t','e','s',0}; static BOOL bInMenuLoop = FALSE; /* Tells us if we are in the menu loop */ static WCHAR favoriteName[128]; static WCHAR searchString[128];