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
1a56a26b
Commit
1a56a26b
authored
Mar 30, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winefile: Fix the compilation when _NO_EXTENSIONS is defined.
parent
378cf80a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
winefile.c
programs/winefile/winefile.c
+8
-2
No files found.
programs/winefile/winefile.c
View file @
1a56a26b
...
...
@@ -2105,6 +2105,7 @@ static BOOL activate_drive_window(LPCWSTR path)
return
FALSE
;
}
#ifndef _NO_EXTENSIONS
static
BOOL
activate_fs_window
(
LPCWSTR
filesys
)
{
HWND
child_wnd
;
...
...
@@ -2127,6 +2128,7 @@ static BOOL activate_fs_window(LPCWSTR filesys)
return
FALSE
;
}
#endif
/* _NO_EXTENSIONS */
static
LRESULT
CALLBACK
FrameWndProc
(
HWND
hwnd
,
UINT
nmsg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
...
...
@@ -2562,6 +2564,7 @@ static BOOL calc_widths(Pane* pane, BOOL anyway)
}
#ifndef _NO_EXTENSIONS
/* calculate one preferred column width */
static
void
calc_single_width
(
Pane
*
pane
,
int
col
)
...
...
@@ -2620,6 +2623,7 @@ static void calc_single_width(Pane* pane, int col)
SendMessageW
(
pane
->
hwnd
,
LB_SETHORIZONTALEXTENT
,
x
,
0
);
}
#endif
/* _NO_EXTENSIONS */
static
BOOL
pattern_match
(
LPCWSTR
str
,
LPCWSTR
pattern
)
...
...
@@ -3314,7 +3318,7 @@ static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWi
}
else
hpen
=
CreatePen
(
PS_DOT
,
0
,
RGB
(
255
,
255
,
255
));
lastPen
=
Select
Pen
(
dis
->
hDC
,
hpen
);
lastPen
=
Select
Object
(
dis
->
hDC
,
hpen
);
lastBrush
=
SelectObject
(
dis
->
hDC
,
GetStockObject
(
HOLLOW_BRUSH
));
SetROP2
(
dis
->
hDC
,
R2_XORPEN
);
Rectangle
(
dis
->
hDC
,
focusRect
.
left
,
focusRect
.
top
,
focusRect
.
right
,
focusRect
.
bottom
);
...
...
@@ -3986,6 +3990,7 @@ static BOOL CtxMenu_HandleMenuMsg(UINT nmsg, WPARAM wparam, LPARAM lparam)
}
#ifndef _NO_EXTENSIONS
static
HRESULT
ShellFolderContextMenu
(
IShellFolder
*
shell_folder
,
HWND
hwndParent
,
int
cidl
,
LPCITEMIDLIST
*
apidl
,
int
x
,
int
y
)
{
IContextMenu
*
pcm
;
...
...
@@ -4031,6 +4036,7 @@ static HRESULT ShellFolderContextMenu(IShellFolder* shell_folder, HWND hwndParen
return
FAILED
(
hr
)
?
hr
:
executed
?
S_OK
:
S_FALSE
;
}
#endif
/* _NO_EXTENSIONS */
static
LRESULT
CALLBACK
ChildWndProc
(
HWND
hwnd
,
UINT
nmsg
,
WPARAM
wparam
,
LPARAM
lparam
)
...
...
@@ -4681,7 +4687,7 @@ static BOOL CALLBACK EnumWndProc(HWND hwnd, LPARAM lparam)
{
WCHAR
cls
[
128
];
GetClassName
(
hwnd
,
cls
,
128
);
GetClassName
W
(
hwnd
,
cls
,
128
);
if
(
!
lstrcmpW
(
cls
,
(
LPCWSTR
)
lparam
))
{
g_foundPrevInstance
++
;
...
...
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