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
e9690271
Commit
e9690271
authored
Oct 02, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warnings.
parent
141966b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
13 deletions
+18
-13
user.c
dlls/ddraw/dsurface/user.c
+2
-1
audio.c
dlls/winmm/winenas/audio.c
+14
-11
grpfile.c
programs/progman/grpfile.c
+2
-1
No files found.
dlls/ddraw/dsurface/user.c
View file @
e9690271
...
...
@@ -49,7 +49,6 @@ static void User_destroy_own_window(IDirectDrawSurfaceImpl* This);
static
DWORD
CALLBACK
User_update_thread
(
LPVOID
);
#endif
static
void
User_copy_to_screen
(
IDirectDrawSurfaceImpl
*
This
,
LPCRECT
rc
);
static
void
User_copy_from_screen
(
IDirectDrawSurfaceImpl
*
This
,
LPCRECT
rc
);
static
HWND
get_display_window
(
IDirectDrawSurfaceImpl
*
This
,
LPPOINT
pt
);
...
...
@@ -597,6 +596,7 @@ static void User_copy_to_screen(IDirectDrawSurfaceImpl* This, LPCRECT rc)
}
}
#if 0
static void User_copy_from_screen(IDirectDrawSurfaceImpl* This, LPCRECT rc)
{
if (This->surface_desc.ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE)
...
...
@@ -623,6 +623,7 @@ static void User_copy_from_screen(IDirectDrawSurfaceImpl* This, LPCRECT rc)
ReleaseDC(hDisplayWnd, hDisplayDC);
}
}
#endif
static
ICOM_VTABLE
(
IDirectDrawSurface7
)
User_IDirectDrawSurface7_VTable
=
{
...
...
dlls/winmm/winenas/audio.c
View file @
e9690271
...
...
@@ -212,16 +212,6 @@ static const char *wodPlayerCmdString[] = {
"WINE_WM_CLOSING"
,
};
static
char
*
nas_event_types
[]
=
{
"Undefined"
,
"Undefined"
,
"ElementNotify"
,
"GrabNotify"
,
"MonitorNotify"
,
"BucketNotify"
,
"DeviceNotify"
};
static
char
*
nas_elementnotify_kinds
[]
=
{
"LowWater"
,
"HighWater"
,
...
...
@@ -259,11 +249,24 @@ static char* nas_elementnotify_kind(unsigned int kind)
}
static
char
*
nas_event_type
(
unsigned
int
type
)
#if 0
static const char* nas_event_type(unsigned int type)
{
static const char * const nas_event_types[] =
{
"Undefined",
"Undefined",
"ElementNotify",
"GrabNotify",
"MonitorNotify",
"BucketNotify",
"DeviceNotify"
};
if (type > 6) type = 0;
return nas_event_types[type];
}
#endif
static
char
*
nas_state
(
unsigned
int
state
)
...
...
programs/progman/grpfile.c
View file @
e9690271
...
...
@@ -641,6 +641,7 @@ static BOOL GRPFILE_DoWriteGroupFile(HFILE file, PROGGROUP *group)
}
/* Icons */
#if 0 /* FIXME: this is broken anyway */
hProgram = group->hPrograms;
while(hProgram)
{
...
...
@@ -649,7 +650,6 @@ static BOOL GRPFILE_DoWriteGroupFile(HFILE file, PROGGROUP *group)
LPVOID XorBits, AndBits;
INT sizeXor = iconinfo->nHeight * iconinfo->nWidthBytes;
INT sizeAnd = iconinfo->nHeight * ((iconinfo->nWidth + 15) / 16 * 2);
/* FIXME: this is broken anyway */
/* DumpIcon16(LocalLock(program->hIcon), 0, &XorBits, &AndBits);*/
PUT_SHORT(buffer, 0, iconinfo->ptHotSpot.x);
...
...
@@ -666,6 +666,7 @@ static BOOL GRPFILE_DoWriteGroupFile(HFILE file, PROGGROUP *group)
hProgram = program->hNext;
}
#endif
if
(
need_extension
)
{
...
...
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