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
d83822ad
Commit
d83822ad
authored
Jan 18, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't use PRInt32 in property getters implementations.
parent
c55b777c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
15 deletions
+11
-15
htmlevent.c
dlls/mshtml/htmlevent.c
+4
-4
htmlform.c
dlls/mshtml/htmlform.c
+1
-3
htmlinput.c
dlls/mshtml/htmlinput.c
+1
-1
htmlobject.c
dlls/mshtml/htmlobject.c
+1
-3
htmlselect.c
dlls/mshtml/htmlselect.c
+4
-4
No files found.
dlls/mshtml/htmlevent.c
View file @
d83822ad
...
...
@@ -641,7 +641,7 @@ static HRESULT WINAPI HTMLEventObj_get_y(IHTMLEventObj *iface, LONG *p)
static
HRESULT
WINAPI
HTMLEventObj_get_clientX
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
PRInt32
x
=
0
;
LONG
x
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -663,7 +663,7 @@ static HRESULT WINAPI HTMLEventObj_get_clientX(IHTMLEventObj *iface, LONG *p)
static
HRESULT
WINAPI
HTMLEventObj_get_clientY
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
PRInt32
y
=
0
;
LONG
y
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -705,7 +705,7 @@ static HRESULT WINAPI HTMLEventObj_get_offsetY(IHTMLEventObj *iface, LONG *p)
static
HRESULT
WINAPI
HTMLEventObj_get_screenX
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
PRInt32
x
=
0
;
LONG
x
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -727,7 +727,7 @@ static HRESULT WINAPI HTMLEventObj_get_screenX(IHTMLEventObj *iface, LONG *p)
static
HRESULT
WINAPI
HTMLEventObj_get_screenY
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
PRInt32
y
=
0
;
LONG
y
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
dlls/mshtml/htmlform.c
View file @
d83822ad
...
...
@@ -391,18 +391,16 @@ static HRESULT WINAPI HTMLFormElement_put_length(IHTMLFormElement *iface, LONG v
static
HRESULT
WINAPI
HTMLFormElement_get_length
(
IHTMLFormElement
*
iface
,
LONG
*
p
)
{
HTMLFormElement
*
This
=
impl_from_IHTMLFormElement
(
iface
);
PRInt32
length
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMHTMLFormElement_GetLength
(
This
->
nsform
,
&
length
);
nsres
=
nsIDOMHTMLFormElement_GetLength
(
This
->
nsform
,
p
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetLength failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
*
p
=
length
;
return
S_OK
;
}
...
...
dlls/mshtml/htmlinput.c
View file @
d83822ad
...
...
@@ -291,7 +291,7 @@ static HRESULT WINAPI HTMLInputElement_put_maxLength(IHTMLInputElement *iface, L
static
HRESULT
WINAPI
HTMLInputElement_get_maxLength
(
IHTMLInputElement
*
iface
,
LONG
*
p
)
{
HTMLInputElement
*
This
=
impl_from_IHTMLInputElement
(
iface
);
PRInt32
max_length
;
LONG
max_length
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
dlls/mshtml/htmlobject.c
View file @
d83822ad
...
...
@@ -433,18 +433,16 @@ static HRESULT WINAPI HTMLObjectElement_put_vspace(IHTMLObjectElement *iface, LO
static
HRESULT
WINAPI
HTMLObjectElement_get_vspace
(
IHTMLObjectElement
*
iface
,
LONG
*
p
)
{
HTMLObjectElement
*
This
=
impl_from_IHTMLObjectElement
(
iface
);
PRInt32
vspace
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMHTMLObjectElement_GetVspace
(
This
->
nsobject
,
&
vspace
);
nsres
=
nsIDOMHTMLObjectElement_GetVspace
(
This
->
nsobject
,
p
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetVspace failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
*
p
=
vspace
;
return
S_OK
;
}
...
...
dlls/mshtml/htmlselect.c
View file @
d83822ad
...
...
@@ -250,16 +250,16 @@ static HRESULT WINAPI HTMLSelectElement_put_selectedIndex(IHTMLSelectElement *if
static
HRESULT
WINAPI
HTMLSelectElement_get_selectedIndex
(
IHTMLSelectElement
*
iface
,
LONG
*
p
)
{
HTMLSelectElement
*
This
=
impl_from_IHTMLSelectElement
(
iface
);
PRInt32
idx
=
0
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMHTMLSelectElement_GetSelectedIndex
(
This
->
nsselect
,
&
idx
);
if
(
NS_FAILED
(
nsres
))
nsres
=
nsIDOMHTMLSelectElement_GetSelectedIndex
(
This
->
nsselect
,
p
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetSelectedIndex failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
*
p
=
idx
;
return
S_OK
;
}
...
...
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