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
4f1fabf3
Commit
4f1fabf3
authored
Sep 20, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Sign-compare warnings fix.
parent
7af03a04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fontdlg.c
dlls/comdlg32/fontdlg.c
+2
-2
printdlg.c
dlls/comdlg32/printdlg.c
+1
-1
No files found.
dlls/comdlg32/fontdlg.c
View file @
4f1fabf3
...
...
@@ -150,7 +150,7 @@ static const struct {
void
_dump_cf_flags
(
DWORD
cflags
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
cfflags
)
/
sizeof
(
cfflags
[
0
]);
i
++
)
if
(
cfflags
[
i
].
mask
&
cflags
)
...
...
@@ -428,7 +428,7 @@ static int AddFontSizeToCombo3(HWND hwnd, UINT h, const CHOOSEFONTW *lpcf)
static
int
SetFontSizesToCombo3
(
HWND
hwnd
,
const
CHOOSEFONTW
*
lpcf
)
{
static
const
BYTE
sizes
[]
=
{
6
,
7
,
8
,
9
,
10
,
11
,
12
,
14
,
16
,
18
,
20
,
22
,
24
,
26
,
28
,
36
,
48
,
72
};
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
sizes
)
/
sizeof
(
sizes
[
0
]);
i
++
)
if
(
AddFontSizeToCombo3
(
hwnd
,
sizes
[
i
],
lpcf
))
return
1
;
...
...
dlls/comdlg32/printdlg.c
View file @
4f1fabf3
...
...
@@ -1040,7 +1040,7 @@ BOOL PRINTDLG_ChangePrinterA(HWND hDlg, char *name,
HWND
hQuality
=
GetDlgItem
(
hDlg
,
cmb1
);
LONG
*
Resolutions
;
char
buf
[
255
];
int
i
;
DWORD
i
;
int
dpiX
,
dpiY
;
HDC
hPrinterDC
=
CreateDCA
(
PrintStructures
->
lpPrinterInfo
->
pDriverName
,
PrintStructures
->
lpPrinterInfo
->
pPrinterName
,
...
...
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