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
c69a80c3
Commit
c69a80c3
authored
Nov 28, 1999
by
Niels Kristian Bech Jensen
Committed by
Alexandre Julliard
Nov 28, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings fixed.
parent
7b5e33c6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
14 deletions
+16
-14
tab.c
dlls/comctl32/tab.c
+1
-0
dplobby.c
dlls/dplayx/dplobby.c
+2
-2
shlview.c
dlls/shell32/shlview.c
+1
-1
font.c
graphics/psdrv/font.c
+2
-2
newfns.c
win32/newfns.c
+1
-1
clipboard.c
windows/x11drv/clipboard.c
+7
-7
event.c
windows/x11drv/event.c
+2
-1
No files found.
dlls/comctl32/tab.c
View file @
c69a80c3
...
...
@@ -17,6 +17,7 @@
#include "commctrl.h"
#include "tab.h"
#include "debugtools.h"
#include "cache.h"
DEFAULT_DEBUG_CHANNEL
(
tab
)
...
...
dlls/dplayx/dplobby.c
View file @
c69a80c3
...
...
@@ -1270,7 +1270,7 @@ static HRESULT WINAPI IDirectPlayLobbyAImpl_RunApplication
PROCESS_INFORMATION
newProcessInfo
;
LPSTR
appName
;
TRACE
(
"(%p)->(0x%08lx,%p,%p,%
p
)
\n
"
,
This
,
dwFlags
,
lpdwAppID
,
lpConn
,
hReceiveEvent
);
TRACE
(
"(%p)->(0x%08lx,%p,%p,%
x
)
\n
"
,
This
,
dwFlags
,
lpdwAppID
,
lpConn
,
hReceiveEvent
);
if
(
dwFlags
!=
0
)
{
...
...
@@ -1367,7 +1367,7 @@ static HRESULT WINAPI IDirectPlayLobbyWImpl_RunApplication
HANDLE
hReceiveEvent
)
{
ICOM_THIS
(
IDirectPlayLobbyWImpl
,
iface
);
FIXME
(
"(%p)->(0x%08lx,%p,%p,%p):stub
\n
"
,
This
,
dwFlags
,
lpdwAppID
,
lpConn
,
hReceiveEvent
);
FIXME
(
"(%p)->(0x%08lx,%p,%p,%p):stub
\n
"
,
This
,
dwFlags
,
lpdwAppID
,
lpConn
,
(
void
*
)
hReceiveEvent
);
return
DPERR_OUTOFMEMORY
;
}
...
...
dlls/shell32/shlview.c
View file @
c69a80c3
...
...
@@ -1318,9 +1318,9 @@ static HRESULT WINAPI IShellView_fnContextSensitiveHelp(IShellView * iface,BOOL
*/
static
HRESULT
WINAPI
IShellView_fnTranslateAccelerator
(
IShellView
*
iface
,
LPMSG
lpmsg
)
{
#if 0
ICOM_THIS(IShellViewImpl, iface);
#if 0
FIXME("(%p)->(%p: hwnd=%x msg=%x lp=%lx wp=%x) stub\n",This,lpmsg, lpmsg->hwnd, lpmsg->message, lpmsg->lParam, lpmsg->wParam);
#endif
...
...
graphics/psdrv/font.c
View file @
c69a80c3
...
...
@@ -302,7 +302,7 @@ BOOL PSDRV_EnumDeviceFonts( DC* dc, LPLOGFONT16 plf,
if
(
family
)
{
for
(
afmle
=
family
->
afmlist
;
afmle
;
afmle
=
afmle
->
next
)
{
TRACE
(
"Got '%s'
\n
"
,
afmle
->
afm
->
FontName
);
if
(
(
b
=
(
*
proc
)(
(
LPENUMLOGFONT16
)
&
lf
,
&
tm
,
if
(
(
b
=
(
*
proc
)(
&
lf
,
&
tm
,
PSDRV_GetFontMetric
(
dc
,
afmle
->
afm
,
&
tm
,
&
lf
,
200
),
lp
))
)
bRet
=
b
;
...
...
@@ -315,7 +315,7 @@ BOOL PSDRV_EnumDeviceFonts( DC* dc, LPLOGFONT16 plf,
for
(
family
=
physDev
->
pi
->
Fonts
;
family
;
family
=
family
->
next
)
{
afmle
=
family
->
afmlist
;
TRACE
(
"Got '%s'
\n
"
,
afmle
->
afm
->
FontName
);
if
(
(
b
=
(
*
proc
)(
(
LPENUMLOGFONT16
)
&
lf
,
&
tm
,
if
(
(
b
=
(
*
proc
)(
&
lf
,
&
tm
,
PSDRV_GetFontMetric
(
dc
,
afmle
->
afm
,
&
tm
,
&
lf
,
200
),
lp
))
)
bRet
=
b
;
...
...
win32/newfns.c
View file @
c69a80c3
...
...
@@ -320,7 +320,7 @@ HANDLE WINAPI OpenDesktopA( LPCSTR lpszDesktop, DWORD dwFlags,
fInherit
,
dwDesiredAccess
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
NULL
;
return
0
;
}
...
...
windows/x11drv/clipboard.c
View file @
c69a80c3
...
...
@@ -88,7 +88,7 @@ static Window PrimarySelectionOwner = None; /* The window which owns the prim
static
Window
ClipboardSelectionOwner
=
None
;
/* The window which owns the clipboard selection */
static
unsigned
long
cSelectionTargets
=
0
;
/* Number of target formats reported by TARGETS selection */
static
Atom
selectionCacheSrc
=
XA_PRIMARY
;
/* The selection source from which the clipboard cache was filled */
static
HANDLE
selectionClearEvent
=
NULL
;
/* Synchronization object used to block until server is started */
static
HANDLE
selectionClearEvent
=
0
;
/* Synchronization object used to block until server is started */
/*
* Dynamic pointer arrays to manage destruction of Pixmap resources
...
...
@@ -309,7 +309,7 @@ BOOL X11DRV_CLIPBOARD_LaunchServer()
/* Release the event */
CloseHandle
(
selectionClearEvent
);
selectionClearEvent
=
NULL
;
selectionClearEvent
=
0
;
}
WIN_RestoreWndsLock
(
iWndsLocks
);
...
...
@@ -327,7 +327,7 @@ BOOL X11DRV_CLIPBOARD_LaunchServer()
*/
int
X11DRV_CLIPBOARD_CacheDataFormats
(
Atom
SelectionName
)
{
HWND
hWnd
=
NULL
;
HWND
hWnd
=
0
;
HWND
hWndClipWindow
=
GetOpenClipboardWindow
();
WND
*
wnd
=
NULL
;
XEvent
xe
;
...
...
@@ -337,7 +337,7 @@ int X11DRV_CLIPBOARD_CacheDataFormats( Atom SelectionName )
unsigned
long
remain
;
Atom
*
targetList
=
NULL
;
Window
w
;
Window
ownerSelection
=
NULL
;
Window
ownerSelection
=
0
;
/*
* Empty the clipboard cache
...
...
@@ -577,7 +577,7 @@ static BOOL X11DRV_CLIPBOARD_ReadSelection(UINT wFormat, Window w, Atom prop, At
{
/* Get the first pixmap handle passed to us */
Pixmap
*
pPixmap
=
(
Pixmap
*
)
val
;
HANDLE
hTargetImage
=
NULL
;
/* Handle to store the converted bitmap or DIB */
HANDLE
hTargetImage
=
0
;
/* Handle to store the converted bitmap or DIB */
if
(
aformat
!=
32
||
nitems
<
1
||
atype
!=
XA_PIXMAP
||
(
wFormat
!=
CF_BITMAP
&&
wFormat
!=
CF_DIB
))
...
...
@@ -1193,7 +1193,7 @@ END:
TRACE
(
"
\t
Lost the selection! Emptying the clipboard...
\n
"
);
OpenClipboard
(
NULL
);
OpenClipboard
(
0
);
selectionAcquired
=
(
S_PRIMARY
|
S_CLIPBOARD
);
EmptyClipboard
();
...
...
@@ -1239,7 +1239,7 @@ void X11DRV_CLIPBOARD_FreeResources( Atom property )
*/
int
i
;
Pixmap
pixmap
;
Atom
cacheProp
=
NULL
;
Atom
cacheProp
=
0
;
for
(
i
=
0
;
;
i
++
)
{
if
(
!
(
cacheProp
=
((
Atom
)
DPA_GetPtr
(
PropDPA
,
i
)))
)
...
...
windows/x11drv/event.c
View file @
c69a80c3
...
...
@@ -108,6 +108,7 @@ static void EVENT_UnmapNotify( HWND pWnd, XUnmapEvent *event );
#ifdef HAVE_LIBXXSHM
static
void
EVENT_ShmCompletion
(
XShmCompletionEvent
*
event
);
static
int
ShmCompletionType
;
extern
int
XShmGetEventBase
(
Display
*
);
/* Missing prototype for function in libXext. */
#endif
/* Usable only with OLVWM - compile option perhaps?
...
...
@@ -1026,7 +1027,7 @@ END:
static
Atom
EVENT_SelectionRequest_PIXMAP
(
Window
requestor
,
Atom
target
,
Atom
rprop
)
{
HANDLE
hClipData
=
0
;
Pixmap
pixmap
=
NULL
;
Pixmap
pixmap
=
0
;
UINT
wFormat
;
char
*
itemFmtName
;
int
xRc
;
...
...
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