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
09534f32
Commit
09534f32
authored
Dec 31, 2001
by
Marcus Meissner
Committed by
Alexandre Julliard
Dec 31, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Swap fg/bg color to be correct.
parent
cd2567e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
user.c
programs/wineconsole/user.c
+2
-2
No files found.
programs/wineconsole/user.c
View file @
09534f32
...
...
@@ -39,8 +39,8 @@ static void WCUSER_FillMemDC(const struct inner_data* data, int upd_tp, int upd_
for
(
i
=
0
;
i
<
data
->
curcfg
.
win_width
;
i
++
)
{
attr
=
cell
[
i
].
Attributes
;
SetBkColor
(
PRIVATE
(
data
)
->
hMemDC
,
WCUSER_ColorMap
[
attr
&
0x0F
]);
SetTextColor
(
PRIVATE
(
data
)
->
hMemDC
,
WCUSER_ColorMap
[
(
attr
>>
4
)
&
0x0F
]);
SetBkColor
(
PRIVATE
(
data
)
->
hMemDC
,
WCUSER_ColorMap
[(
attr
>>
4
)
&
0x0F
]);
SetTextColor
(
PRIVATE
(
data
)
->
hMemDC
,
WCUSER_ColorMap
[
attr
&
0x0F
]);
for
(
k
=
i
;
k
<
data
->
curcfg
.
win_width
&&
cell
[
k
].
Attributes
==
attr
;
k
++
)
{
line
[
k
-
i
]
=
cell
[
k
].
Char
.
UnicodeChar
;
...
...
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