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
f7a9c497
Commit
f7a9c497
authored
Jun 13, 2005
by
Martin Fuchs
Committed by
Alexandre Julliard
Jun 13, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- use const parameter in find_entry_shell()
- rename ExecuteDialogWndProg() to ExecuteDialogDlgProc() - remove old comment - add missing call to CtxMenu_reset()
parent
5e62bd0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
winefile.c
programs/winefile/winefile.c
+8
-6
No files found.
programs/winefile/winefile.c
View file @
f7a9c497
...
...
@@ -806,7 +806,7 @@ static HICON extract_icon(IShellFolder* folder, LPCITEMIDLIST pidl)
}
static
Entry
*
find_entry_shell
(
Entry
*
dir
,
LPITEMIDLIST
pidl
)
static
Entry
*
find_entry_shell
(
Entry
*
dir
,
LP
C
ITEMIDLIST
pidl
)
{
Entry
*
entry
;
...
...
@@ -1192,7 +1192,8 @@ static void SortDirectory(Entry* dir, SORT_ORDER sortOrder)
p
[
0
]
->
next
=
p
[
1
];
(
*
p
)
->
next
=
0
;
HeapFree
(
GetProcessHeap
(),
0
,
array
);
HeapFree
(
GetProcessHeap
(),
0
,
array
);
}
}
...
...
@@ -1604,7 +1605,7 @@ struct ExecuteDialog {
int
cmdshow
;
};
static
INT_PTR
CALLBACK
ExecuteDialog
WndProg
(
HWND
hwnd
,
UINT
nmsg
,
WPARAM
wparam
,
LPARAM
lparam
)
static
INT_PTR
CALLBACK
ExecuteDialog
DlgProc
(
HWND
hwnd
,
UINT
nmsg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
static
struct
ExecuteDialog
*
dlg
;
...
...
@@ -2230,7 +2231,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
memset
(
&
dlg
,
0
,
sizeof
(
struct
ExecuteDialog
));
if
(
DialogBoxParam
(
Globals
.
hInstance
,
MAKEINTRESOURCE
(
IDD_EXECUTE
),
hwnd
,
ExecuteDialog
WndProg
,
(
LPARAM
)
&
dlg
)
==
IDOK
)
{
if
(
DialogBoxParam
(
Globals
.
hInstance
,
MAKEINTRESOURCE
(
IDD_EXECUTE
),
hwnd
,
ExecuteDialog
DlgProc
,
(
LPARAM
)
&
dlg
)
==
IDOK
)
{
HINSTANCE
hinst
=
ShellExecute
(
hwnd
,
NULL
/*operation*/
,
dlg
.
cmd
/*file*/
,
NULL
/*parameters*/
,
NULL
/*dir*/
,
dlg
.
cmdshow
);
if
((
int
)
hinst
<=
32
)
...
...
@@ -2327,7 +2328,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
ShellAbout
(
hwnd
,
RS
(
b2
,
IDS_WINE
),
RS
(
b1
,
IDS_WINEFILE
),
0
);
break
;
case
ID_ABOUT
:
/*ID_ABOUT_WINE: */
case
ID_ABOUT
:
ShellAbout
(
hwnd
,
RS
(
b1
,
IDS_WINEFILE
),
NULL
,
0
);
break
;
#endif
/* _NO_EXTENSIONS */
...
...
@@ -4054,7 +4055,8 @@ static HRESULT ShellFolderContextMenu(IShellFolder* shell_folder, HWND hwndParen
hr
=
(
*
pcm
->
lpVtbl
->
InvokeCommand
)(
pcm
,
&
cmi
);
executed
=
TRUE
;
}
}
}
else
CtxMenu_reset
();
}
(
*
pcm
->
lpVtbl
->
Release
)(
pcm
);
...
...
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