diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-04-05 09:22:22 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-04-05 09:22:22 +0000 |
commit | a61e63cb41c9994a8f16635344ca22ed4b4be736 (patch) | |
tree | 4cf7f49eac4b6d15f40eebb5d6de3eee559d1a9a /rbutil/rbutilqt/base | |
parent | b4f6b259efc655d8bd0c44369b7e2f6cf0cc200b (diff) |
Fix a wrong debug message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20620 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base')
-rw-r--r-- | rbutil/rbutilqt/base/bootloaderinstallipod.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallipod.cpp b/rbutil/rbutilqt/base/bootloaderinstallipod.cpp index c1f04281da..82c64954a6 100644 --- a/rbutil/rbutilqt/base/bootloaderinstallipod.cpp +++ b/rbutil/rbutilqt/base/bootloaderinstallipod.cpp @@ -198,12 +198,13 @@ BootloaderInstallBase::BootloaderType BootloaderInstallIpod::installed(void) qDebug() << "BootloaderInstallIpod::installed(): BootloaderUnknown"; result = BootloaderUnknown; } - - if (ipod.ipod_directory[0].entryOffset == 0) { + else if (ipod.ipod_directory[0].entryOffset == 0) { qDebug() << "BootloaderInstallIpod::installed(): BootloaderOther"; result = BootloaderOther; } - qDebug() << "BootloaderInstallIpod::installed(): BootloaderRockbox"; + else { + qDebug() << "BootloaderInstallIpod::installed(): BootloaderRockbox"; + } ipod_close(&ipod); return result; |