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
d47be63f
Commit
d47be63f
authored
Mar 29, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Store the graphics driver basename instead of the full path.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
53ffeb67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
desktop.c
programs/explorer/desktop.c
+2
-6
No files found.
programs/explorer/desktop.c
View file @
d47be63f
...
...
@@ -857,11 +857,7 @@ static HMODULE load_graphics_driver( const WCHAR *driver, const GUID *guid )
name
=
next
;
}
if
(
module
)
{
GetModuleFileNameW
(
module
,
buffer
,
MAX_PATH
);
TRACE
(
"display %s driver %s
\n
"
,
debugstr_guid
(
guid
),
debugstr_w
(
buffer
)
);
}
TRACE
(
"display %s driver %s
\n
"
,
debugstr_guid
(
guid
),
debugstr_w
(
libname
)
);
swprintf
(
key
,
ARRAY_SIZE
(
key
),
device_keyW
,
guid
->
Data1
,
guid
->
Data2
,
guid
->
Data3
,
guid
->
Data4
[
0
],
guid
->
Data4
[
1
],
guid
->
Data4
[
2
],
guid
->
Data4
[
3
],
...
...
@@ -872,7 +868,7 @@ static HMODULE load_graphics_driver( const WCHAR *driver, const GUID *guid )
{
if
(
module
||
null_driver
)
RegSetValueExW
(
hkey
,
graphics_driverW
,
0
,
REG_SZ
,
(
BYTE
*
)
buffer
,
(
lstrlenW
(
buffer
)
+
1
)
*
sizeof
(
WCHAR
)
);
(
BYTE
*
)
libname
,
(
lstrlenW
(
libname
)
+
1
)
*
sizeof
(
WCHAR
)
);
else
RegSetValueExA
(
hkey
,
"DriverError"
,
0
,
REG_SZ
,
(
BYTE
*
)
error
,
strlen
(
error
)
+
1
);
RegCloseKey
(
hkey
);
...
...
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