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
95bcd517
Commit
95bcd517
authored
Apr 29, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Apr 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some warnings.
parent
c77ff5ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
colordlg.c
dlls/commdlg/colordlg.c
+1
-1
shellord.c
dlls/shell32/shellord.c
+10
-4
No files found.
dlls/commdlg/colordlg.c
View file @
95bcd517
...
@@ -1465,7 +1465,7 @@ BOOL WINAPI ChooseColorA( LPCHOOSECOLORA lpChCol )
...
@@ -1465,7 +1465,7 @@ BOOL WINAPI ChooseColorA( LPCHOOSECOLORA lpChCol )
if
(
ret
)
if
(
ret
)
lpChCol
->
rgbResult
=
lpcc
->
rgbResult
;
lpChCol
->
rgbResult
=
lpcc
->
rgbResult
;
if
(
lpcc
->
lpTemplateName
)
HeapFree
(
GetProcessHeap
(),
0
,
lpcc
->
lpTemplateName
);
if
(
lpcc
->
lpTemplateName
)
HeapFree
(
GetProcessHeap
(),
0
,
(
LPSTR
)
lpcc
->
lpTemplateName
);
HeapFree
(
GetProcessHeap
(),
0
,
lpcc
);
HeapFree
(
GetProcessHeap
(),
0
,
lpcc
);
return
ret
;
return
ret
;
}
}
dlls/shell32/shellord.c
View file @
95bcd517
...
@@ -277,7 +277,6 @@ int WINAPIV ShellMessageBoxW(
...
@@ -277,7 +277,6 @@ int WINAPIV ShellMessageBoxW(
va_list
args
;
va_list
args
;
va_start
(
args
,
uType
);
va_start
(
args
,
uType
);
/* wvsprintfA(buf,fmt, args); */
/* wvsprintfA(buf,fmt, args); */
va_end
(
args
);
TRACE
(
"(%08lx,%08lx,%p,%p,%08x)
\n
"
,
TRACE
(
"(%08lx,%08lx,%p,%p,%08x)
\n
"
,
(
DWORD
)
hInstance
,(
DWORD
)
hWnd
,
lpText
,
lpCaption
,
uType
);
(
DWORD
)
hInstance
,(
DWORD
)
hWnd
,
lpText
,
lpCaption
,
uType
);
...
@@ -292,7 +291,11 @@ int WINAPIV ShellMessageBoxW(
...
@@ -292,7 +291,11 @@ int WINAPIV ShellMessageBoxW(
else
else
pszText
=
lpText
;
pszText
=
lpText
;
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
szText
,
0
,
0
,
szTemp
,
256
,
args
);
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
szText
,
0
,
0
,
szTemp
,
256
,
(
LPDWORD
)
args
);
va_end
(
args
);
return
MessageBoxW
(
hWnd
,
szTemp
,
szTitle
,
uType
);
return
MessageBoxW
(
hWnd
,
szTemp
,
szTitle
,
uType
);
}
}
...
@@ -312,7 +315,6 @@ int WINAPIV ShellMessageBoxA(
...
@@ -312,7 +315,6 @@ int WINAPIV ShellMessageBoxA(
va_list
args
;
va_list
args
;
va_start
(
args
,
uType
);
va_start
(
args
,
uType
);
/* wvsprintfA(buf,fmt, args); */
/* wvsprintfA(buf,fmt, args); */
va_end
(
args
);
TRACE
(
"(%08lx,%08lx,%p,%p,%08x)
\n
"
,
TRACE
(
"(%08lx,%08lx,%p,%p,%08x)
\n
"
,
(
DWORD
)
hInstance
,(
DWORD
)
hWnd
,
lpText
,
lpCaption
,
uType
);
(
DWORD
)
hInstance
,(
DWORD
)
hWnd
,
lpText
,
lpCaption
,
uType
);
...
@@ -327,7 +329,11 @@ int WINAPIV ShellMessageBoxA(
...
@@ -327,7 +329,11 @@ int WINAPIV ShellMessageBoxA(
else
else
pszText
=
lpText
;
pszText
=
lpText
;
FormatMessageA
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
szText
,
0
,
0
,
szTemp
,
256
,
args
);
FormatMessageA
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
szText
,
0
,
0
,
szTemp
,
256
,
(
LPDWORD
)
args
);
va_end
(
args
);
return
MessageBoxA
(
hWnd
,
szTemp
,
szTitle
,
uType
);
return
MessageBoxA
(
hWnd
,
szTemp
,
szTitle
,
uType
);
}
}
...
...
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