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
c1e995d5
Commit
c1e995d5
authored
Mar 17, 2004
by
Richard Cohen
Committed by
Alexandre Julliard
Mar 17, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix relative screen resizing.
parent
b9a12ad3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
console.c
dlls/kernel/console.c
+5
-2
No files found.
dlls/kernel/console.c
View file @
c1e995d5
...
...
@@ -2085,15 +2085,18 @@ BOOL WINAPI SetConsoleWindowInfo(HANDLE hCon, BOOL bAbsolute, LPSMALL_RECT windo
SMALL_RECT
p
=
*
window
;
BOOL
ret
;
TRACE
(
"(%p,%d,(%d,%d-%d,%d))
\n
"
,
hCon
,
bAbsolute
,
p
.
Left
,
p
.
Top
,
p
.
Right
,
p
.
Bottom
);
if
(
!
bAbsolute
)
{
CONSOLE_SCREEN_BUFFER_INFO
csbi
;
if
(
!
GetConsoleScreenBufferInfo
(
hCon
,
&
csbi
))
return
FALSE
;
p
.
Left
+=
csbi
.
srWindow
.
Left
;
p
.
Top
+=
csbi
.
srWindow
.
Top
;
p
.
Right
+=
csbi
.
srWindow
.
Lef
t
;
p
.
Bottom
+=
csbi
.
srWindow
.
Top
;
p
.
Right
+=
csbi
.
srWindow
.
Righ
t
;
p
.
Bottom
+=
csbi
.
srWindow
.
Bottom
;
}
SERVER_START_REQ
(
set_console_output_info
)
{
...
...
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