Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
0e549767
Commit
0e549767
authored
May 12, 2020
by
Dmitry Timoshkov
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Make GetDriveType() always return DRIVE_FIXED for C: (eterbug #14223).
parent
89ae1f2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
volume.c
dlls/kernelbase/volume.c
+6
-0
No files found.
dlls/kernelbase/volume.c
View file @
0e549767
...
@@ -619,6 +619,12 @@ UINT WINAPI DECLSPEC_HOTPATCH GetDriveTypeW( LPCWSTR root )
...
@@ -619,6 +619,12 @@ UINT WINAPI DECLSPEC_HOTPATCH GetDriveTypeW( LPCWSTR root )
break
;
break
;
}
}
}
}
/* Make GetDriveType() always return DRIVE_FIXED for C: (eterbug #14223). */
if
((
root
[
0
]
==
'C'
||
root
[
0
]
==
'c'
)
&&
root
[
1
]
==
':'
)
ret
=
DRIVE_FIXED
;
TRACE
(
"%s -> %d
\n
"
,
debugstr_w
(
root
),
ret
);
TRACE
(
"%s -> %d
\n
"
,
debugstr_w
(
root
),
ret
);
return
ret
;
return
ret
;
}
}
...
...
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