From 1efe3376c198d93631b19e4016c0bfb7d2b01b16 Mon Sep 17 00:00:00 2001 From: localhorst Date: Sun, 22 Jun 2025 11:57:40 +0200 Subject: [PATCH] display empty string if connection type is not known --- src/tui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui.cpp b/src/tui.cpp index 3ba05c7..9c822bc 100644 --- a/src/tui.cpp +++ b/src/tui.cpp @@ -95,7 +95,7 @@ void TUI::updateTUI(list *plistDrives, uint8_t u8SelectedEntry) string sTemp = it->sTemperatureToText(); string sConnection = (it->connectionType == Drive::USB ? "USB" : it->connectionType == Drive::SATA ? "SATA" : it->connectionType == Drive::NVME ? "NVME" - : "UNKNOWN"); + : ""); bool bSelectedEntry = false;