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
6ca3f79e
Commit
6ca3f79e
authored
Oct 20, 1998
by
Petter Reinholdtsen
Committed by
Alexandre Julliard
Oct 20, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure the access functions are always used to get label and serial
number.
parent
b7233c84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drive.c
files/drive.c
+2
-2
No files found.
files/drive.c
View file @
6ca3f79e
...
...
@@ -1024,12 +1024,12 @@ BOOL32 WINAPI GetVolumeInformation32A( LPCSTR root, LPSTR label,
if
(
!
DRIVE_IsValid
(
drive
))
return
FALSE
;
if
(
label
)
{
lstrcpyn32A
(
label
,
D
OSDrives
[
drive
].
label
,
label_len
);
lstrcpyn32A
(
label
,
D
RIVE_GetLabel
(
drive
)
,
label_len
);
for
(
cp
=
label
;
*
cp
;
cp
++
);
while
(
cp
!=
label
&&
*
(
cp
-
1
)
==
' '
)
cp
--
;
*
cp
=
'\0'
;
}
if
(
serial
)
*
serial
=
D
OSDrives
[
drive
].
serial
;
if
(
serial
)
*
serial
=
D
RIVE_GetSerialNumber
(
drive
)
;
/* Set the filesystem information */
/* Note: we only emulate a FAT fs at the present */
...
...
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