diff --git a/gsmartcontrol/data/nsis/distribution.txt.in b/gsmartcontrol/data/nsis/distribution.txt.in index aeffb9b..9d8d954 100644 --- a/gsmartcontrol/data/nsis/distribution.txt.in +++ b/gsmartcontrol/data/nsis/distribution.txt.in @@ -15,7 +15,7 @@ This distribution includes: The binary was compiled against Gtkmm (http://www.gtkmm.org/), GTK+ (http://gtk.org/) and related libraries, and PCRE (http://www.pcre.org/). -* Smartctl binaries (from smartmontools 6.5, http://smartmontools.sf.net/) +* Smartctl binaries (from smartmontools 6.6, http://smartmontools.sf.net/) - smartctl-nc.exe (compiled without console output), smartctl.exe (compiled with console output), update-smart-drivedb.exe (drive database updater). diff --git a/gsmartcontrol/src/applib/storage_device.cpp b/gsmartcontrol/src/applib/storage_device.cpp index 0a2b86a..bd2993a 100644 --- a/gsmartcontrol/src/applib/storage_device.cpp +++ b/gsmartcontrol/src/applib/storage_device.cpp @@ -668,7 +668,7 @@ const std::map& StorageDevice::get_drive_letters() const std::string StorageDevice::format_drive_letters(bool with_volnames) const { std::vector drive_letters_decorated; - for (std::map::const_iterator iter = drive_letters_.cbegin(); iter != drive_letters_.cend(); ++iter) { + for (std::map::const_iterator iter = drive_letters_.begin(); iter != drive_letters_.end(); ++iter) { drive_letters_decorated.push_back(std::string() + (char)std::toupper(iter->first) + ":"); if (with_volnames && !iter->second.empty()) { drive_letters_decorated.back() += std::string(" (") + iter->second + ")";