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
9e357cd7
Commit
9e357cd7
authored
Jan 10, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineconsole: Make some data const.
parent
cd306046
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
curses.c
programs/wineconsole/curses.c
+4
-4
user.c
programs/wineconsole/user.c
+1
-1
winecon_user.h
programs/wineconsole/winecon_user.h
+1
-1
No files found.
programs/wineconsole/curses.c
View file @
9e357cd7
...
...
@@ -130,9 +130,9 @@ MAKE_FUNCPTR(mousemask)
static
BOOL
WCCURSES_bind_libcurses
(
void
)
{
#ifdef HAVE_NCURSES_H
static
const
char
*
ncname
=
SONAME_LIBNCURSES
;
static
const
char
ncname
[]
=
SONAME_LIBNCURSES
;
#else
static
const
char
*
ncname
=
SONAME_LIBCURSES
;
static
const
char
ncname
[]
=
SONAME_LIBCURSES
;
#endif
nc_handle
=
wine_dlopen
(
ncname
,
RTLD_NOW
,
NULL
,
0
);
...
...
@@ -434,7 +434,7 @@ static void WCCURSES_ScrollV(struct inner_data* data, int delta)
}
/* Ascii -> VK, generated by calling VkKeyScanA(i) */
static
int
vkkeyscan_table
[
256
]
=
static
const
int
vkkeyscan_table
[
256
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
8
,
9
,
0
,
0
,
0
,
13
,
0
,
0
,
0
,
0
,
0
,
19
,
145
,
556
,
0
,
0
,
0
,
0
,
0
,
27
,
0
,
0
,
0
,
0
,
32
,
305
,
478
,
307
,
308
,
309
,
311
,
222
,
313
,
304
,
312
,
443
,
188
,
189
,
190
,
191
,
48
,
...
...
@@ -448,7 +448,7 @@ static int vkkeyscan_table[256] =
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
400
,
0
,
0
,
0
,
0
,
0
,
0
};
static
int
mapvkey_0
[
256
]
=
static
const
int
mapvkey_0
[
256
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
14
,
15
,
0
,
0
,
0
,
28
,
0
,
0
,
42
,
29
,
56
,
69
,
58
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
57
,
73
,
81
,
79
,
71
,
75
,
72
,
77
,
80
,
0
,
0
,
0
,
55
,
82
,
83
,
0
,
11
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
...
...
programs/wineconsole/user.c
View file @
9e357cd7
...
...
@@ -31,7 +31,7 @@ WINE_DECLARE_DEBUG_CHANNEL(wc_font);
UINT
g_uiDefaultCharset
;
/* mapping console colors to RGB values */
COLORREF
WCUSER_ColorMap
[
16
]
=
const
COLORREF
WCUSER_ColorMap
[
16
]
=
{
RGB
(
0x00
,
0x00
,
0x00
),
RGB
(
0x00
,
0x00
,
0x80
),
RGB
(
0x00
,
0x80
,
0x00
),
RGB
(
0x00
,
0x80
,
0x80
),
RGB
(
0x80
,
0x00
,
0x00
),
RGB
(
0x80
,
0x00
,
0x80
),
RGB
(
0x80
,
0x80
,
0x00
),
RGB
(
0x80
,
0x80
,
0x80
),
...
...
programs/wineconsole/winecon_user.h
View file @
9e357cd7
...
...
@@ -44,7 +44,7 @@ struct inner_data_user {
#define PRIVATE(data) ((struct inner_data_user*)((data)->private))
/* from user.c */
extern
COLORREF
WCUSER_ColorMap
[
16
];
extern
const
COLORREF
WCUSER_ColorMap
[
16
];
extern
BOOL
WCUSER_GetProperties
(
struct
inner_data
*
,
BOOL
);
extern
BOOL
WCUSER_ValidateFont
(
const
struct
inner_data
*
data
,
const
LOGFONT
*
lf
);
extern
BOOL
WCUSER_ValidateFontMetric
(
const
struct
inner_data
*
data
,
...
...
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