mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 14:12:26 -05:00
Fix two strings and warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23702 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
de37ce51ed
commit
49ed16cd29
1 changed files with 4 additions and 4 deletions
|
|
@ -235,11 +235,11 @@ bool BootloaderInstallIpod::ipodInitialize(struct ipod_t *ipod)
|
|||
sprintf(ipod->diskname, "\\\\.\\PhysicalDrive%i",
|
||||
Autodetection::resolveDevicename(m_blfile).toInt());
|
||||
#elif defined(Q_OS_MACX)
|
||||
sprintf(ipod->diskname,
|
||||
sprintf(ipod->diskname, "%s",
|
||||
qPrintable(Autodetection::resolveDevicename(m_blfile)
|
||||
.remove(QRegExp("s[0-9]+$"))));
|
||||
#else
|
||||
sprintf(ipod->diskname,
|
||||
sprintf(ipod->diskname, "%s",
|
||||
qPrintable(Autodetection::resolveDevicename(m_blfile)
|
||||
.remove(QRegExp("[0-9]+$"))));
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue