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
2791290b
Commit
2791290b
authored
Oct 04, 2005
by
Juan Lang
Committed by
Alexandre Julliard
Oct 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove .dll from DllOverrides entries, such entries are ignored.
parent
f9c1537b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
libraries.c
programs/winecfg/libraries.c
+11
-2
No files found.
programs/winecfg/libraries.c
View file @
2791290b
...
...
@@ -257,12 +257,21 @@ static void set_dllmode(HWND dialog, DWORD id)
static
void
on_add_click
(
HWND
dialog
)
{
char
buffer
[
1024
];
static
const
char
dotDll
[]
=
".dll"
;
char
buffer
[
1024
],
*
ptr
;
ZeroMemory
(
buffer
,
sizeof
(
buffer
));
SendDlgItemMessage
(
dialog
,
IDC_DLLCOMBO
,
WM_GETTEXT
,
sizeof
(
buffer
),
(
LPARAM
)
buffer
);
if
(
lstrlenA
(
buffer
)
>=
sizeof
(
dotDll
))
{
ptr
=
buffer
+
lstrlenA
(
buffer
)
-
sizeof
(
dotDll
)
+
1
;
if
(
!
lstrcmpiA
(
ptr
,
dotDll
))
{
WINE_TRACE
(
"Stripping dll extension
\n
"
);
*
ptr
=
'\0'
;
}
}
SendDlgItemMessage
(
dialog
,
IDC_DLLCOMBO
,
WM_SETTEXT
,
0
,
(
LPARAM
)
""
);
disable
(
IDC_DLLS_ADDDLL
);
...
...
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