mirror of
https://github.com/fadden/ciderpress.git
synced 2024-12-25 23:33:07 +00:00
Select the correct memory copy routine from the C runtime...
This commit is contained in:
parent
5637461d8a
commit
0d0bfde65a
@ -220,7 +220,7 @@ DiskFSGutenberg::ReadCatalog(void)
|
||||
dierr = fpImg->ReadTrackSector(catTrack, catSect, sctBuf);
|
||||
if (dierr != kDIErrNone)
|
||||
goto bail;
|
||||
sprintf(fDiskVolumeName, (const char *)&sctBuf[6], kMaxVolNameLen);
|
||||
memcpy(fDiskVolumeName, &sctBuf[6], kMaxVolNameLen); // Copy out the volume name; it should be the same on all catalog sectors.
|
||||
fDiskVolumeName[kMaxVolNameLen] = 0x00;
|
||||
DiskFSGutenberg::LowerASCII((unsigned char*)fDiskVolumeName, kMaxVolNameLen);
|
||||
A2FileGutenberg::TrimTrailingSpaces(fDiskVolumeName);
|
||||
|
Loading…
Reference in New Issue
Block a user