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
645486e8
Commit
645486e8
authored
Apr 07, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Replace long with LONG.
parent
905ab998
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
print.c
programs/wordpad/print.c
+3
-3
wordpad.c
programs/wordpad/wordpad.c
+1
-1
No files found.
programs/wordpad/print.c
View file @
645486e8
...
...
@@ -489,7 +489,7 @@ BOOL preview_isactive(void)
return
preview
.
page
!=
0
;
}
static
void
add_ruler_units
(
HDC
hdcRuler
,
RECT
*
drawRect
,
BOOL
NewMetrics
,
long
EditLeftmost
)
static
void
add_ruler_units
(
HDC
hdcRuler
,
RECT
*
drawRect
,
BOOL
NewMetrics
,
LONG
EditLeftmost
)
{
static
HDC
hdc
;
...
...
@@ -564,7 +564,7 @@ static void add_ruler_units(HDC hdcRuler, RECT* drawRect, BOOL NewMetrics, long
BitBlt
(
hdcRuler
,
0
,
0
,
drawRect
->
right
,
drawRect
->
bottom
,
hdc
,
0
,
0
,
SRCAND
);
}
static
void
paint_ruler
(
HWND
hWnd
,
long
EditLeftmost
,
BOOL
NewMetrics
)
static
void
paint_ruler
(
HWND
hWnd
,
LONG
EditLeftmost
,
BOOL
NewMetrics
)
{
PAINTSTRUCT
ps
;
HDC
hdc
=
BeginPaint
(
hWnd
,
&
ps
);
...
...
@@ -603,7 +603,7 @@ static void paint_ruler(HWND hWnd, long EditLeftmost, BOOL NewMetrics)
LRESULT
CALLBACK
ruler_proc
(
HWND
hWnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
static
WNDPROC
pPrevRulerProc
;
static
long
EditLeftmost
;
static
LONG
EditLeftmost
;
static
BOOL
NewMetrics
;
switch
(
msg
)
...
...
programs/wordpad/wordpad.c
View file @
645486e8
...
...
@@ -2233,7 +2233,7 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
case
ID_EDIT_READONLY
:
{
long
nStyle
=
GetWindowLong
(
hwndEditor
,
GWL_STYLE
);
LONG
nStyle
=
GetWindowLong
(
hwndEditor
,
GWL_STYLE
);
if
(
nStyle
&
ES_READONLY
)
SendMessageW
(
hwndEditor
,
EM_SETREADONLY
,
0
,
0
);
else
...
...
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