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
d0a24609
Commit
d0a24609
authored
Jun 17, 2020
by
André Hentschel
Committed by
Alexandre Julliard
Jun 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemenubuilder: Change blacklist to a more neutral word.
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bd36f9f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
winemenubuilder.c
programs/winemenubuilder/winemenubuilder.c
+2
-2
No files found.
programs/winemenubuilder/winemenubuilder.c
View file @
d0a24609
...
...
@@ -2470,7 +2470,7 @@ static BOOL write_freedesktop_mime_type_entry(const char *packages_dir, const ch
return
ret
;
}
static
BOOL
is_extension_b
lacklist
ed
(
LPCWSTR
extension
)
static
BOOL
is_extension_b
ann
ed
(
LPCWSTR
extension
)
{
/* These are managed through external tools like wine.desktop, to evade malware created file type associations */
static
const
WCHAR
comW
[]
=
{
'.'
,
'c'
,
'o'
,
'm'
,
0
};
...
...
@@ -2564,7 +2564,7 @@ static BOOL generate_associations(const char *xdg_data_home, const char *package
size
*=
2
;
}
while
(
ret
==
ERROR_MORE_DATA
);
if
(
ret
==
ERROR_SUCCESS
&&
extensionW
[
0
]
==
'.'
&&
!
is_extension_b
lacklist
ed
(
extensionW
))
if
(
ret
==
ERROR_SUCCESS
&&
extensionW
[
0
]
==
'.'
&&
!
is_extension_b
ann
ed
(
extensionW
))
{
char
*
extensionA
=
NULL
;
WCHAR
*
commandW
=
NULL
;
...
...
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