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
f5e55566
Commit
f5e55566
authored
May 18, 2011
by
Andrew Nguyen
Committed by
Alexandre Julliard
May 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Suppress constness warnings for tigetstr parameter.
parent
4d154d00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
term.c
dlls/kernel32/term.c
+3
-3
No files found.
dlls/kernel32/term.c
View file @
f5e55566
...
@@ -376,7 +376,7 @@ static BOOL TERM_BuildKeyDB(void)
...
@@ -376,7 +376,7 @@ static BOOL TERM_BuildKeyDB(void)
for
(
i
=
0
;
i
<
sizeof
(
TERM_dbkey_init
)
/
sizeof
(
TERM_dbkey_init
[
0
]);
i
++
)
for
(
i
=
0
;
i
<
sizeof
(
TERM_dbkey_init
)
/
sizeof
(
TERM_dbkey_init
[
0
]);
i
++
)
{
{
if
(
!
TERM_AddKeyDescr
(
tigetstr
(
TERM_dbkey_init
[
i
].
string_normal
),
&
TERM_dbkey_init
[
i
].
descr
))
if
(
!
TERM_AddKeyDescr
(
tigetstr
(
(
char
*
)
TERM_dbkey_init
[
i
].
string_normal
),
&
TERM_dbkey_init
[
i
].
descr
))
return
FALSE
;
return
FALSE
;
if
(
TERM_dbkey_init
[
i
].
string_xterm
)
if
(
TERM_dbkey_init
[
i
].
string_xterm
)
{
{
...
@@ -421,7 +421,7 @@ BOOL TERM_Init(void)
...
@@ -421,7 +421,7 @@ BOOL TERM_Init(void)
TERM_init_done
=
TRUE
;
TERM_init_done
=
TRUE
;
TERM_BuildKeyDB
();
TERM_BuildKeyDB
();
/* set application key mode */
/* set application key mode */
putp
(
tigetstr
(
"smkx"
));
putp
(
tigetstr
(
(
char
*
)
"smkx"
));
return
TRUE
;
return
TRUE
;
}
}
...
@@ -430,7 +430,7 @@ BOOL TERM_Exit(void)
...
@@ -430,7 +430,7 @@ BOOL TERM_Exit(void)
if
(
TERM_init_done
)
if
(
TERM_init_done
)
{
{
/* put back the cursor key mode */
/* put back the cursor key mode */
putp
(
tigetstr
(
"rmkx"
));
putp
(
tigetstr
(
(
char
*
)
"rmkx"
));
}
}
return
TRUE
;
return
TRUE
;
}
}
...
...
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