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
6c799304
Commit
6c799304
authored
Dec 16, 2002
by
Rolf Kalbermatter
Committed by
Alexandre Julliard
Dec 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add config.h/port.h to allow compilation/linking in MSVC.
Fix some unsigned/signed warnings.
parent
75edee3d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
16 deletions
+24
-16
comboex.c
dlls/comctl32/comboex.c
+1
-1
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+6
-4
progress.c
dlls/comctl32/progress.c
+1
-1
propsheet.c
dlls/comctl32/propsheet.c
+2
-2
rebar.c
dlls/comctl32/rebar.c
+11
-8
treeview.c
dlls/comctl32/treeview.c
+3
-0
No files found.
dlls/comctl32/comboex.c
View file @
6c799304
...
...
@@ -1231,7 +1231,7 @@ static BOOL COMBOEX_WM_DeleteItem (COMBOEX_INFO *infoPtr, DELETEITEMSTRUCT *dis)
{
CBE_ITEMDATA
*
item
,
*
olditem
;
NMCOMBOBOXEXW
nmcit
;
INT
i
;
U
INT
i
;
TRACE
(
"CtlType=%08x, CtlID=%08x, itemID=%08x, hwnd=%p, data=%08lx
\n
"
,
dis
->
CtlType
,
dis
->
CtlID
,
dis
->
itemID
,
dis
->
hwndItem
,
dis
->
itemData
);
...
...
dlls/comctl32/comctl32undoc.c
View file @
6c799304
...
...
@@ -29,6 +29,8 @@
* - Add more functions.
* - Write some documentation.
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include <stdlib.h>
/* atoi */
...
...
@@ -512,7 +514,7 @@ typedef struct tagWINEMRULIST
*/
VOID
MRU_SaveChanged
(
LPWINEMRULIST
mp
)
{
INT
i
,
err
;
U
INT
i
,
err
;
HKEY
newkey
;
WCHAR
realname
[
2
];
LPWINEMRUITEM
witem
;
...
...
@@ -580,7 +582,7 @@ DWORD WINAPI
FreeMRUList
(
HANDLE
hMRUList
)
{
LPWINEMRULIST
mp
=
(
LPWINEMRULIST
)
hMRUList
;
INT
i
;
U
INT
i
;
TRACE
(
"
\n
"
);
if
(
mp
->
wineFlags
&
WMRUF_CHANGED
)
{
...
...
@@ -619,7 +621,7 @@ INT WINAPI
FindMRUData
(
HANDLE
hList
,
LPCVOID
lpData
,
DWORD
cbData
,
LPINT
lpRegNum
)
{
LPWINEMRULIST
mp
=
(
LPWINEMRULIST
)
hList
;
INT
i
,
ret
;
U
INT
i
,
ret
;
LPSTR
dataA
=
NULL
;
if
(
!
mp
->
extview
.
lpfnCompare
)
{
...
...
@@ -838,7 +840,7 @@ FindMRUStringA (HANDLE hList, LPCSTR lpszString, LPINT lpRegNum)
*/
HANDLE
CreateMRUListLazy_common
(
LPWINEMRULIST
mp
)
{
INT
i
,
err
;
U
INT
i
,
err
;
HKEY
newkey
;
DWORD
datasize
,
dwdisp
;
WCHAR
realname
[
2
];
...
...
dlls/comctl32/progress.c
View file @
6c799304
...
...
@@ -334,7 +334,7 @@ static LRESULT WINAPI ProgressWindowProc(HWND hwnd, UINT message,
case
PBM_SETPOS
:
{
INT
oldVal
;
U
INT
oldVal
;
oldVal
=
infoPtr
->
CurVal
;
if
(
oldVal
!=
wParam
)
{
infoPtr
->
CurVal
=
(
INT
)
wParam
;
...
...
dlls/comctl32/propsheet.c
View file @
6c799304
...
...
@@ -2382,7 +2382,7 @@ INT WINAPI PropertySheetA(LPCPROPSHEETHEADERA lppsh)
int
bRet
=
0
;
PropSheetInfo
*
psInfo
=
(
PropSheetInfo
*
)
GlobalAlloc
(
GPTR
,
sizeof
(
PropSheetInfo
));
int
i
,
n
;
UINT
i
,
n
;
BYTE
*
pByte
;
TRACE
(
"(%p)
\n
"
,
lppsh
);
...
...
@@ -2426,7 +2426,7 @@ INT WINAPI PropertySheetW(LPCPROPSHEETHEADERW lppsh)
int
bRet
=
0
;
PropSheetInfo
*
psInfo
=
(
PropSheetInfo
*
)
GlobalAlloc
(
GPTR
,
sizeof
(
PropSheetInfo
));
int
i
,
n
;
UINT
i
,
n
;
BYTE
*
pByte
;
TRACE
(
"(%p)
\n
"
,
lppsh
);
...
...
dlls/comctl32/rebar.c
View file @
6c799304
...
...
@@ -1610,8 +1610,9 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient)
/* assumes that the following variables contain: */
/* y/x current height/width of all rows */
if
(
lpRect
)
{
INT
i
,
j
,
prev_rh
,
new_rh
,
adj_rh
,
prev_idx
,
current_idx
;
INT
i
,
prev_rh
,
new_rh
,
adj_rh
,
prev_idx
,
current_idx
;
REBAR_BAND
*
prev
,
*
current
,
*
walk
;
UINT
j
;
/* FIXME: problem # 2 */
if
(((
infoPtr
->
dwStyle
&
CCS_VERT
)
?
...
...
@@ -1748,7 +1749,8 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient)
if
(((
infoPtr
->
dwStyle
&
CCS_VERT
)
?
clientcx
>
x
:
clientcy
>
y
)
&&
infoPtr
->
uNumBands
)
{
INT
diff
,
i
,
iband
,
j
;
INT
diff
,
i
,
iband
;
UINT
j
;
diff
=
(
infoPtr
->
dwStyle
&
CCS_VERT
)
?
clientcx
-
x
:
clientcy
-
y
;
for
(
i
=
infoPtr
->
uNumRows
;
i
>=
1
;
i
--
)
{
...
...
@@ -1893,7 +1895,7 @@ REBAR_ValidateBand (REBAR_INFO *infoPtr, REBAR_BAND *lpBand)
{
UINT
header
=
0
;
UINT
textheight
=
0
;
INT
i
,
nonfixed
;
U
INT
i
,
nonfixed
;
REBAR_BAND
*
tBand
;
lpBand
->
fStatus
=
0
;
...
...
@@ -2112,7 +2114,8 @@ REBAR_InternalEraseBkGnd (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam, REC
/* separators are drawn on the first band of the next row. */
{
REBAR_BAND
*
lpBand
;
INT
i
,
oldrow
;
UINT
i
;
INT
oldrow
;
HDC
hdc
=
(
HDC
)
wParam
;
RECT
rect
;
COLORREF
old
=
CLR_NONE
,
new
;
...
...
@@ -2203,7 +2206,7 @@ REBAR_InternalHitTest (REBAR_INFO *infoPtr, LPPOINT lpPt, UINT *pFlags, INT *pBa
{
REBAR_BAND
*
lpBand
;
RECT
rect
;
INT
iCount
;
U
INT
iCount
;
GetClientRect
(
infoPtr
->
hwndSelf
,
&
rect
);
...
...
@@ -2881,8 +2884,8 @@ static LRESULT
REBAR_GetRowHeight
(
REBAR_INFO
*
infoPtr
,
WPARAM
wParam
,
LPARAM
lParam
)
{
INT
iRow
=
(
INT
)
wParam
;
int
ret
=
0
;
int
i
,
j
=
0
;
int
j
=
0
,
ret
=
0
;
UINT
i
;
REBAR_BAND
*
lpBand
;
for
(
i
=
0
;
i
<
infoPtr
->
uNumBands
;
i
++
)
{
...
...
@@ -3662,7 +3665,7 @@ static LRESULT
REBAR_Destroy
(
REBAR_INFO
*
infoPtr
,
WPARAM
wParam
,
LPARAM
lParam
)
{
REBAR_BAND
*
lpBand
;
INT
i
;
U
INT
i
;
/* free rebar bands */
...
...
dlls/comctl32/treeview.c
View file @
6c799304
...
...
@@ -38,6 +38,9 @@
* Scroll (instead of repaint) as much as possible.
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
#include <string.h>
...
...
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