Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ab7af137
Commit
ab7af137
authored
Jul 12, 2004
by
Marcus Meissner
Committed by
Alexandre Julliard
Jul 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed double applet = applet = assignment.
Removed sic_hdpa only used in 1 C file as static var. Make VT_Shell_IMalloc32 and related variables static.
parent
ada760f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
control.c
dlls/shell32/control.c
+2
-2
shell32_main.h
dlls/shell32/shell32_main.h
+0
-1
shellole.c
dlls/shell32/shellole.c
+3
-3
No files found.
dlls/shell32/control.c
View file @
ab7af137
...
...
@@ -171,7 +171,7 @@ static BOOL Control_Localize(const CPanel* panel, unsigned cx, unsigned cy,
RECT
rc
;
GetClientRect
(
panel
->
hWnd
,
&
rc
);
for
(
applet
=
panel
->
first
;
applet
;
applet
=
applet
=
applet
->
next
)
{
for
(
applet
=
panel
->
first
;
applet
;
applet
=
applet
->
next
)
{
for
(
i
=
0
;
i
<
applet
->
count
;
i
++
)
{
if
(
!
applet
->
info
[
i
].
dwSize
)
continue
;
if
(
x
+
XSTEP
>=
rc
.
right
-
rc
.
left
)
{
...
...
@@ -201,7 +201,7 @@ static LRESULT Control_WndProc_Paint(const CPanel* panel, WPARAM wParam)
hdc
=
(
wParam
)
?
(
HDC
)
wParam
:
BeginPaint
(
panel
->
hWnd
,
&
ps
);
hOldFont
=
SelectObject
(
hdc
,
GetStockObject
(
ANSI_VAR_FONT
));
GetClientRect
(
panel
->
hWnd
,
&
rc
);
for
(
applet
=
panel
->
first
;
applet
;
applet
=
applet
=
applet
->
next
)
{
for
(
applet
=
panel
->
first
;
applet
;
applet
=
applet
->
next
)
{
for
(
i
=
0
;
i
<
applet
->
count
;
i
++
)
{
if
(
x
+
XSTEP
>=
rc
.
right
-
rc
.
left
)
{
x
=
0
;
...
...
dlls/shell32/shell32_main.h
View file @
ab7af137
...
...
@@ -44,7 +44,6 @@ extern HMODULE huser32;
extern
HINSTANCE
shell32_hInstance
;
extern
HIMAGELIST
ShellSmallIconList
;
extern
HIMAGELIST
ShellBigIconList
;
extern
HDPA
sic_hdpa
;
BOOL
WINAPI
Shell_GetImageList
(
HIMAGELIST
*
lpBigList
,
HIMAGELIST
*
lpSmallList
);
...
...
dlls/shell32/shellole.c
View file @
ab7af137
...
...
@@ -274,7 +274,7 @@ DWORD WINAPI SHCLSIDFromStringAW (LPVOID clsid, CLSID *id)
*/
/* set the vtable later */
extern
ICOM_VTABLE
(
IMalloc
)
VT_Shell_IMalloc32
;
static
ICOM_VTABLE
(
IMalloc
)
VT_Shell_IMalloc32
;
/* this is the static object instance */
typedef
struct
{
...
...
@@ -282,10 +282,10 @@ typedef struct {
DWORD
dummy
;
}
_ShellMalloc
;
_ShellMalloc
Shell_Malloc
=
{
&
VT_Shell_IMalloc32
,
1
};
static
_ShellMalloc
Shell_Malloc
=
{
&
VT_Shell_IMalloc32
,
1
};
/* this is the global allocator of shell32 */
IMalloc
*
ShellTaskAllocator
=
NULL
;
static
IMalloc
*
ShellTaskAllocator
=
NULL
;
/******************************************************************************
* IShellMalloc_QueryInterface [VTABLE]
...
...
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