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
17d1e9e5
Commit
17d1e9e5
authored
May 23, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
May 23, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issues found by winapi_check.
parent
0d974815
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
6 deletions
+9
-6
main.c
dlls/ddraw/main.c
+3
-1
wgl.c
dlls/opengl32/wgl.c
+2
-2
x11drv_main.c
dlls/x11drv/x11drv_main.c
+2
-0
x11drv.h
include/x11drv.h
+0
-1
registry.c
server/registry.c
+2
-2
No files found.
dlls/ddraw/main.c
View file @
17d1e9e5
...
@@ -324,7 +324,9 @@ HRESULT WINAPI DirectDrawCreate(
...
@@ -324,7 +324,9 @@ HRESULT WINAPI DirectDrawCreate(
return
ret
;
return
ret
;
}
}
/***********************************************************************
* DirectDrawCreateEx
*/
HRESULT
WINAPI
DirectDrawCreateEx
(
HRESULT
WINAPI
DirectDrawCreateEx
(
LPGUID
lpGUID
,
LPVOID
*
lplpDD
,
REFIID
iid
,
LPUNKNOWN
pUnkOuter
LPGUID
lpGUID
,
LPVOID
*
lplpDD
,
REFIID
iid
,
LPUNKNOWN
pUnkOuter
)
{
)
{
...
...
dlls/opengl32/wgl.c
View file @
17d1e9e5
...
@@ -334,7 +334,7 @@ BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
...
@@ -334,7 +334,7 @@ BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
}
}
/***********************************************************************
/***********************************************************************
* wglUseFontBitmaps
* wglUseFontBitmaps
A
*/
*/
BOOL
WINAPI
wglUseFontBitmapsA
(
HDC
hdc
,
BOOL
WINAPI
wglUseFontBitmapsA
(
HDC
hdc
,
DWORD
first
,
DWORD
first
,
...
@@ -356,7 +356,7 @@ BOOL WINAPI wglUseFontBitmapsA(HDC hdc,
...
@@ -356,7 +356,7 @@ BOOL WINAPI wglUseFontBitmapsA(HDC hdc,
}
}
/***********************************************************************
/***********************************************************************
* wglUseFontOutlines
* wglUseFontOutlines
A
*/
*/
BOOL
WINAPI
wglUseFontOutlinesA
(
HDC
hdc
,
BOOL
WINAPI
wglUseFontOutlinesA
(
HDC
hdc
,
DWORD
first
,
DWORD
first
,
...
...
dlls/x11drv/x11drv_main.c
View file @
17d1e9e5
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
* Copyright 2000 Alexandre Julliard
* Copyright 2000 Alexandre Julliard
*/
*/
#include "config.h"
#include <fcntl.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
include/x11drv.h
View file @
17d1e9e5
...
@@ -175,7 +175,6 @@ extern BOOL X11DRV_OBM_Init(void);
...
@@ -175,7 +175,6 @@ extern BOOL X11DRV_OBM_Init(void);
struct
tagBITMAPOBJ
;
struct
tagBITMAPOBJ
;
extern
XImage
*
X11DRV_BITMAP_GetXImage
(
const
struct
tagBITMAPOBJ
*
bmp
);
extern
XImage
*
X11DRV_BITMAP_GetXImage
(
const
struct
tagBITMAPOBJ
*
bmp
);
extern
int
X11DRV_DIB_GetXImageWidthBytes
(
int
width
,
int
depth
);
extern
int
X11DRV_DIB_GetXImageWidthBytes
(
int
width
,
int
depth
);
extern
BOOL
X11DRV_DIB_Init
(
void
);
extern
HBITMAP
X11DRV_BITMAP_CreateBitmapHeaderFromPixmap
(
Pixmap
pixmap
);
extern
HBITMAP
X11DRV_BITMAP_CreateBitmapHeaderFromPixmap
(
Pixmap
pixmap
);
extern
HGLOBAL
X11DRV_DIB_CreateDIBFromPixmap
(
Pixmap
pixmap
,
HDC
hdc
,
BOOL
bDeletePixmap
);
extern
HGLOBAL
X11DRV_DIB_CreateDIBFromPixmap
(
Pixmap
pixmap
,
HDC
hdc
,
BOOL
bDeletePixmap
);
extern
HBITMAP
X11DRV_BITMAP_CreateBitmapFromPixmap
(
Pixmap
pixmap
,
BOOL
bDeletePixmap
);
extern
HBITMAP
X11DRV_BITMAP_CreateBitmapFromPixmap
(
Pixmap
pixmap
,
BOOL
bDeletePixmap
);
...
...
server/registry.c
View file @
17d1e9e5
...
@@ -1241,12 +1241,12 @@ static int get_prefix_len( struct key *key, const char *name, struct file_load_i
...
@@ -1241,12 +1241,12 @@ static int get_prefix_len( struct key *key, const char *name, struct file_load_i
WCHAR
*
p
;
WCHAR
*
p
;
int
res
;
int
res
;
int
len
=
strlen
(
name
)
*
sizeof
(
WCHAR
);
int
len
=
strlen
(
name
)
*
sizeof
(
WCHAR
);
if
(
!
get_file_tmp_space
(
info
,
len
))
return
NULL
;
if
(
!
get_file_tmp_space
(
info
,
len
))
return
0
;
if
((
res
=
parse_strW
(
(
WCHAR
*
)
info
->
tmp
,
&
len
,
name
,
']'
))
==
-
1
)
if
((
res
=
parse_strW
(
(
WCHAR
*
)
info
->
tmp
,
&
len
,
name
,
']'
))
==
-
1
)
{
{
file_read_error
(
"Malformed key"
,
info
);
file_read_error
(
"Malformed key"
,
info
);
return
NULL
;
return
0
;
}
}
for
(
p
=
(
WCHAR
*
)
info
->
tmp
;
*
p
;
p
++
)
if
(
*
p
==
'\\'
)
break
;
for
(
p
=
(
WCHAR
*
)
info
->
tmp
;
*
p
;
p
++
)
if
(
*
p
==
'\\'
)
break
;
*
p
=
0
;
*
p
=
0
;
...
...
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