Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1eef1299
Commit
1eef1299
authored
Oct 06, 2015
by
Alex Henrie
Committed by
Alexandre Julliard
Oct 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Make TERM_dbkey_init const.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
parent
0410cf9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
term.c
dlls/kernel32/term.c
+2
-2
No files found.
dlls/kernel32/term.c
View file @
1eef1299
...
@@ -227,7 +227,7 @@ struct dbkey_init
...
@@ -227,7 +227,7 @@ struct dbkey_init
struct
dbkey_descr
descr
;
struct
dbkey_descr
descr
;
};
};
static
struct
dbkey_init
TERM_dbkey_init
[]
=
{
static
const
struct
dbkey_init
TERM_dbkey_init
[]
=
{
{
"kcud1"
,
"kDN"
,
{
dbk_complex
,
0x50
,
0x28
,
0
}},
{
"kcud1"
,
"kDN"
,
{
dbk_complex
,
0x50
,
0x28
,
0
}},
{
"kcuu1"
,
"kUP"
,
{
dbk_complex
,
0x48
,
0x26
,
0
}},
{
"kcuu1"
,
"kUP"
,
{
dbk_complex
,
0x48
,
0x26
,
0
}},
{
"kcub1"
,
"kLFT"
,
{
dbk_complex
,
0x4b
,
0x25
,
0
}},
{
"kcub1"
,
"kLFT"
,
{
dbk_complex
,
0x4b
,
0x25
,
0
}},
...
@@ -342,7 +342,7 @@ static int TERM_dbkey_cmp(const void* p1, const void* p2)
...
@@ -342,7 +342,7 @@ static int TERM_dbkey_cmp(const void* p1, const void* p2)
return
strcmp
(
kp1
->
string
,
kp2
->
string
);
return
strcmp
(
kp1
->
string
,
kp2
->
string
);
}
}
static
BOOL
TERM_AddKeyDescr
(
const
char
*
string
,
struct
dbkey_descr
*
descr
)
static
BOOL
TERM_AddKeyDescr
(
const
char
*
string
,
const
struct
dbkey_descr
*
descr
)
{
{
if
(
!
string
||
string
==
(
const
char
*
)
-
1
)
return
TRUE
;
if
(
!
string
||
string
==
(
const
char
*
)
-
1
)
return
TRUE
;
if
(
!
TERM_dbkey
)
if
(
!
TERM_dbkey
)
...
...
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