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
25f7ad44
Commit
25f7ad44
authored
Nov 24, 2008
by
Ricardo Filipe
Committed by
Alexandre Julliard
Nov 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Removed dead assignments (llvm/clang).
parent
1c55ba0b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
colordlg.c
dlls/comdlg32/colordlg.c
+1
-1
fontdlg16.c
dlls/comdlg32/fontdlg16.c
+2
-2
No files found.
dlls/comdlg32/colordlg.c
View file @
25f7ad44
...
...
@@ -166,7 +166,7 @@ int CC_RGBtoHSL(char c, int r, int g, int b)
else
{
result
=
mmdif
*
240
;
/* 0...61200=255*240 */
result
/=
(
mmsum
>
255
?
mmsum
=
510
-
mmsum
:
mmsum
);
/* 0..255 */
result
/=
(
mmsum
>
255
?
510
-
mmsum
:
mmsum
);
/* 0..255 */
}
break
;
/* hue */
...
...
dlls/comdlg32/fontdlg16.c
View file @
25f7ad44
...
...
@@ -187,7 +187,7 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
if
(
lpChFont
->
Flags
&
CF_ENABLETEMPLATEHANDLE
)
{
if
(
!
(
template
=
LockResource16
(
lpChFont
->
hInstance
)
))
if
(
!
LockResource16
(
lpChFont
->
hInstance
))
{
COMDLG32_SetCommDlgExtendedError
(
CDERR_LOADRESFAILURE
);
return
FALSE
;
...
...
@@ -204,7 +204,7 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
return
FALSE
;
}
if
(
!
(
hDlgTmpl16
=
LoadResource16
(
lpChFont
->
hInstance
,
hResInfo
))
||
!
(
template
=
LockResource16
(
hDlgTmpl16
)
))
!
LockResource16
(
hDlgTmpl16
))
{
COMDLG32_SetCommDlgExtendedError
(
CDERR_LOADRESFAILURE
);
return
FALSE
;
...
...
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