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
c94e0861
Commit
c94e0861
authored
Jun 07, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Jun 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some warnings.
parent
7980a50c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
12 deletions
+13
-12
datetime.c
dlls/comctl32/datetime.c
+1
-1
treeview.c
dlls/comctl32/treeview.c
+5
-5
filedlg95.c
dlls/commdlg/filedlg95.c
+2
-0
x11drv_main.c
dlls/x11drv/x11drv_main.c
+1
-0
crtdll.h
include/crtdll.h
+1
-0
ioports.c
msdos/ioports.c
+3
-6
No files found.
dlls/comctl32/datetime.c
View file @
c94e0861
...
@@ -780,7 +780,7 @@ DATETIME_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -780,7 +780,7 @@ DATETIME_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
if
(
infoPtr
->
bCalDepressed
==
TRUE
)
{
if
(
infoPtr
->
bCalDepressed
==
TRUE
)
{
infoPtr
->
bCalDepressed
=
FALSE
;
infoPtr
->
bCalDepressed
=
FALSE
;
RedrawWindow
(
hwnd
,
&
(
infoPtr
->
calbutton
),
NULL
,
RDW_ERASE
|
RDW_INVALIDATE
);
RedrawWindow
(
hwnd
,
&
(
infoPtr
->
calbutton
),
0
,
RDW_ERASE
|
RDW_INVALIDATE
);
}
}
return
0
;
return
0
;
...
...
dlls/comctl32/treeview.c
View file @
c94e0861
...
@@ -3012,7 +3012,7 @@ TREEVIEW_EditLabelA (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -3012,7 +3012,7 @@ TREEVIEW_EditLabelA (HWND hwnd, WPARAM wParam, LPARAM lParam)
if
(
wineItem
==
NULL
)
if
(
wineItem
==
NULL
)
{
{
ERR
(
"Cannot get valid TREEVIEW_ITEM for lParam
\n
"
);
ERR
(
"Cannot get valid TREEVIEW_ITEM for lParam
\n
"
);
return
NULL
;
return
0
;
}
}
TRACE
(
"Edit started for %s.
\n
"
,
wineItem
->
pszText
);
TRACE
(
"Edit started for %s.
\n
"
,
wineItem
->
pszText
);
...
@@ -3069,7 +3069,7 @@ TREEVIEW_EditLabelA (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -3069,7 +3069,7 @@ TREEVIEW_EditLabelA (HWND hwnd, WPARAM wParam, LPARAM lParam)
TREEVIEW_EndEditLabelNow
(
hwnd
,
(
WPARAM
)
TRUE
,
0
);
TREEVIEW_EndEditLabelNow
(
hwnd
,
(
WPARAM
)
TRUE
,
0
);
return
NULL
;
return
0
;
}
}
SetWindowPos
(
SetWindowPos
(
...
@@ -3091,7 +3091,7 @@ TREEVIEW_EditLabelA (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -3091,7 +3091,7 @@ TREEVIEW_EditLabelA (HWND hwnd, WPARAM wParam, LPARAM lParam)
** return NULL since we cannot edit this.
** return NULL since we cannot edit this.
*/
*/
return
NULL
;
return
0
;
}
}
return
infoPtr
->
hwndEdit
;
return
infoPtr
->
hwndEdit
;
...
@@ -3214,7 +3214,7 @@ TREEVIEW_EndEditLabelNow (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -3214,7 +3214,7 @@ TREEVIEW_EndEditLabelNow (HWND hwnd, WPARAM wParam, LPARAM lParam)
/* update the window to eliminate fragments and the like */
/* update the window to eliminate fragments and the like */
TreeView_GetItemRect
(
hwnd
,
infoPtr
->
editItem
,
&
itemRect
,
FALSE
);
TreeView_GetItemRect
(
hwnd
,
infoPtr
->
editItem
,
&
itemRect
,
FALSE
);
RedrawWindow
(
hwnd
,
&
itemRect
,
NULL
,
RDW_ERASE
|
RDW_INVALIDATE
|
RDW_UPDATENOW
);
RedrawWindow
(
hwnd
,
&
itemRect
,
0
,
RDW_ERASE
|
RDW_INVALIDATE
|
RDW_UPDATENOW
);
infoPtr
->
editItem
=
0
;
infoPtr
->
editItem
=
0
;
...
@@ -3355,7 +3355,7 @@ TREEVIEW_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -3355,7 +3355,7 @@ TREEVIEW_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
{
{
if
(
infoPtr
->
editItem
==
0
)
/* If we are not curently editing */
if
(
infoPtr
->
editItem
==
0
)
/* If we are not curently editing */
{
{
if
(
SendMessageA
(
hwnd
,
TVM_EDITLABELA
,
0
,
(
LPARAM
)
iItem
)
==
NULL
)
if
(
SendMessageA
(
hwnd
,
TVM_EDITLABELA
,
0
,
(
LPARAM
)
iItem
)
==
0
)
return
0
;
return
0
;
}
}
}
}
...
...
dlls/commdlg/filedlg95.c
View file @
c94e0861
...
@@ -23,7 +23,9 @@
...
@@ -23,7 +23,9 @@
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include "winbase.h"
#include "winbase.h"
#include "crtdll.h"
#include "ldt.h"
#include "ldt.h"
#include "heap.h"
#include "heap.h"
#include "commdlg.h"
#include "commdlg.h"
...
...
dlls/x11drv/x11drv_main.c
View file @
c94e0861
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
#include "ts_xutil.h"
#include "ts_xutil.h"
#include "winbase.h"
#include "winbase.h"
#include "wine/winbase16.h"
#include "winreg.h"
#include "winreg.h"
#include "callback.h"
#include "callback.h"
...
...
include/crtdll.h
View file @
c94e0861
...
@@ -32,6 +32,7 @@ void __cdecl CRTDLL_free( void *ptr );
...
@@ -32,6 +32,7 @@ void __cdecl CRTDLL_free( void *ptr );
LPSTR
__cdecl
CRTDLL__mbsinc
(
LPCSTR
str
);
LPSTR
__cdecl
CRTDLL__mbsinc
(
LPCSTR
str
);
INT
__cdecl
CRTDLL__mbslen
(
LPCSTR
str
);
INT
__cdecl
CRTDLL__mbslen
(
LPCSTR
str
);
LPSTR
__cdecl
CRTDLL__strlwr
(
LPSTR
str
);
LPWSTR
__cdecl
CRTDLL__wcsdup
(
LPCWSTR
str
);
LPWSTR
__cdecl
CRTDLL__wcsdup
(
LPCWSTR
str
);
INT
__cdecl
CRTDLL__wcsicmp
(
LPCWSTR
str1
,
LPCWSTR
str2
);
INT
__cdecl
CRTDLL__wcsicmp
(
LPCWSTR
str1
,
LPCWSTR
str2
);
INT
__cdecl
CRTDLL__wcsicoll
(
LPCWSTR
str1
,
LPCWSTR
str2
);
INT
__cdecl
CRTDLL__wcsicoll
(
LPCWSTR
str1
,
LPCWSTR
str2
);
...
...
msdos/ioports.c
View file @
c94e0861
...
@@ -69,8 +69,6 @@ static char port_permissions[0x10000];
...
@@ -69,8 +69,6 @@ static char port_permissions[0x10000];
#define IO_READ 1
#define IO_READ 1
#define IO_WRITE 2
#define IO_WRITE 2
#endif
/* DIRECT_IO_ACCESS */
static
void
IO_FixCMOSCheckSum
(
void
)
static
void
IO_FixCMOSCheckSum
(
void
)
{
{
WORD
sum
=
0
;
WORD
sum
=
0
;
...
@@ -83,6 +81,8 @@ static void IO_FixCMOSCheckSum(void)
...
@@ -83,6 +81,8 @@ static void IO_FixCMOSCheckSum(void)
TRACE
(
"calculated hi %02x, lo %02x
\n
"
,
cmosimage
[
0x2e
],
cmosimage
[
0x2f
]);
TRACE
(
"calculated hi %02x, lo %02x
\n
"
,
cmosimage
[
0x2e
],
cmosimage
[
0x2f
]);
}
}
#endif
/* DIRECT_IO_ACCESS */
static
void
set_timer_maxval
(
unsigned
timer
,
unsigned
maxval
)
static
void
set_timer_maxval
(
unsigned
timer
,
unsigned
maxval
)
{
{
switch
(
timer
)
{
switch
(
timer
)
{
...
@@ -220,11 +220,8 @@ static inline void outl( DWORD value, WORD port )
...
@@ -220,11 +220,8 @@ static inline void outl( DWORD value, WORD port )
__asm__
__volatile__
(
"outl %0,%w1"
:
:
"a"
(
value
),
"d"
(
port
)
);
__asm__
__volatile__
(
"outl %0,%w1"
:
:
"a"
(
value
),
"d"
(
port
)
);
}
}
#endif
/* DIRECT_IO_ACCESS */
static
void
IO_port_init
(
void
)
static
void
IO_port_init
(
void
)
{
{
#ifdef DIRECT_IO_ACCESS
char
temp
[
1024
];
char
temp
[
1024
];
do_direct_port_access
=
0
;
do_direct_port_access
=
0
;
...
@@ -239,10 +236,10 @@ static void IO_port_init(void)
...
@@ -239,10 +236,10 @@ static void IO_port_init(void)
temp
,
sizeof
(
temp
)
);
temp
,
sizeof
(
temp
)
);
do_IO_port_init_read_or_write
(
temp
,
IO_WRITE
);
do_IO_port_init_read_or_write
(
temp
,
IO_WRITE
);
}
}
#endif
/* DIRECT_IO_ACCESS */
IO_FixCMOSCheckSum
();
IO_FixCMOSCheckSum
();
}
}
#endif
/* DIRECT_IO_ACCESS */
/**********************************************************************
/**********************************************************************
* IO_inport
* IO_inport
...
...
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