Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
62871e0b
Commit
62871e0b
authored
Apr 19, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Apr 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Remove variable hwndPreview which is not really used from init_preview.
parent
b33d0d54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
print.c
programs/wordpad/print.c
+1
-2
No files found.
programs/wordpad/print.c
View file @
62871e0b
...
...
@@ -789,7 +789,6 @@ static void update_scaled_preview(HWND hMainWnd)
void
init_preview
(
HWND
hMainWnd
,
LPWSTR
wszFileName
)
{
HWND
hwndPreview
;
HINSTANCE
hInstance
=
GetModuleHandleW
(
0
);
preview
.
page
=
1
;
preview
.
hdc
=
0
;
...
...
@@ -799,7 +798,7 @@ void init_preview(HWND hMainWnd, LPWSTR wszFileName)
preview
.
zoomlevel
=
0
;
preview_bar_show
(
hMainWnd
,
TRUE
);
hwndPreview
=
CreateWindowExW
(
0
,
wszPreviewWndClass
,
NULL
,
CreateWindowExW
(
0
,
wszPreviewWndClass
,
NULL
,
WS_VISIBLE
|
WS_CHILD
|
WS_VSCROLL
|
WS_HSCROLL
,
0
,
0
,
200
,
10
,
hMainWnd
,
(
HMENU
)
IDC_PREVIEW
,
hInstance
,
NULL
);
}
...
...
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