WUPSConfigItemButtonCombo: Only log errors on failure when setting the combo

This commit is contained in:
Maschell 2025-01-05 15:19:46 +01:00
parent 5cbcc77b58
commit 4377488179

View File

@ -124,7 +124,7 @@ namespace {
if (status != WUPS_BUTTON_COMBO_COMBO_STATUS_VALID) {
// (Try) to restore "old" button combo
if (WUPSButtonComboAPI_UpdateButtonCombo(item->comboHandle, oldCombo, &status) == WUPS_BUTTON_COMBO_ERROR_SUCCESS) {
if (WUPSButtonComboAPI_UpdateButtonCombo(item->comboHandle, oldCombo, &status) != WUPS_BUTTON_COMBO_ERROR_SUCCESS) {
OSReport("Failed to update combo info\n");
}
return WUPS_BUTTON_COMBO_ERROR_UNKNOWN_ERROR;