[dasher: 28/61] Previous checkin had wrong condition.
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher: 28/61] Previous checkin had wrong condition.
- Date: Thu, 28 Dec 2017 10:04:56 +0000 (UTC)
commit 017634696b3496291682797bca8fec7e23069ff7
Author: Ada Majorek <amajorek google com>
Date: Thu Jul 14 23:15:41 2016 -0700
Previous checkin had wrong condition.
Src/Win32/Widgets/ControlPage.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Src/Win32/Widgets/ControlPage.cpp b/Src/Win32/Widgets/ControlPage.cpp
index 11a6b19..723f94a 100644
--- a/Src/Win32/Widgets/ControlPage.cpp
+++ b/Src/Win32/Widgets/ControlPage.cpp
@@ -167,7 +167,7 @@ LRESULT CControlPage::WndProc(HWND Window, UINT message, WPARAM wParam, LPARAM l
case IDC_BUTTON_PREFS:
{
std::string strNewValue;
- if (GetSelectedListboxText(IDC_CONTROL_LIST, strNewValue))
+ if (!GetSelectedListboxText(IDC_CONTROL_LIST, strNewValue))
break;
SModuleSettings *pSettings = 0;
@@ -182,7 +182,7 @@ LRESULT CControlPage::WndProc(HWND Window, UINT message, WPARAM wParam, LPARAM l
case IDC_BUTTON_PREFS2:
{
std::string strNewValue;
- if (GetSelectedListboxText(IDC_INPUT_LIST, strNewValue))
+ if (!GetSelectedListboxText(IDC_INPUT_LIST, strNewValue))
break;
SModuleSettings *pSettings = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]