Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6b6d084b
Commit
6b6d084b
authored
Apr 14, 2022
by
Hugh McMaster
Committed by
Alexandre Julliard
Apr 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Use wide character string literals in childwnd.c.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f9fa5f9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
childwnd.c
programs/regedit/childwnd.c
+3
-11
No files found.
programs/regedit/childwnd.c
View file @
6b6d084b
...
...
@@ -32,12 +32,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(regedit);
ChildWnd
*
g_pChildWnd
;
static
int
last_split
;
static
const
WCHAR
wszLastKey
[]
=
{
'L'
,
'a'
,
's'
,
't'
,
'K'
,
'e'
,
'y'
,
0
};
static
const
WCHAR
wszKeyName
[]
=
{
'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'
,
0
};
static
const
WCHAR
wszLastKey
[]
=
L"LastKey"
;
static
const
WCHAR
wszKeyName
[]
=
L"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Applets
\\
Regedit"
;
/*******************************************************************************
* Local module support methods
...
...
@@ -58,11 +54,7 @@ static LPCWSTR GetRootKeyName(HKEY hRootKey)
if
(
hRootKey
==
HKEY_DYN_DATA
)
return
reg_class_namesW
[
INDEX_HKEY_DYN_DATA
];
else
{
static
const
WCHAR
unknown_key
[]
=
{
'U'
,
'N'
,
'K'
,
'N'
,
'O'
,
'W'
,
'N'
,
' '
,
'H'
,
'K'
,
'E'
,
'Y'
,
','
,
' '
,
'P'
,
'L'
,
'E'
,
'A'
,
'S'
,
'E'
,
' '
,
'R'
,
'E'
,
'P'
,
'O'
,
'R'
,
'T'
,
0
};
return
unknown_key
;
}
return
L"Unknown HKEY. Please report."
;
}
static
void
draw_splitbar
(
HWND
hWnd
,
int
x
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment