From 541a40c44b017a92756336d6ed83dfbeb51ca551 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Thu, 2 Apr 2020 16:26:56 +0200 Subject: [PATCH] fix right diff action on Command menus --- src/gui/CommandDialog.cxx | 2 +- src/gui/MinUICommandDialog.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/CommandDialog.cxx b/src/gui/CommandDialog.cxx index d33fe3c57..6eaf714b7 100644 --- a/src/gui/CommandDialog.cxx +++ b/src/gui/CommandDialog.cxx @@ -65,7 +65,7 @@ CommandDialog::CommandDialog(OSystem& osystem, DialogContainer& parent) wid.push_back(myColorButton); myLeftDiffButton = ADD_CD_BUTTON("", kLeftDiffCmd); wid.push_back(myLeftDiffButton); - myRightDiffButton = ADD_CD_BUTTON("", kLeftDiffCmd); + myRightDiffButton = ADD_CD_BUTTON("", kRightDiffCmd); wid.push_back(myRightDiffButton); // Column 2 diff --git a/src/gui/MinUICommandDialog.cxx b/src/gui/MinUICommandDialog.cxx index dbb17870a..b93b95890 100644 --- a/src/gui/MinUICommandDialog.cxx +++ b/src/gui/MinUICommandDialog.cxx @@ -67,7 +67,7 @@ MinUICommandDialog::MinUICommandDialog(OSystem& osystem, DialogContainer& parent wid.push_back(myColorButton); myLeftDiffButton = ADD_CD_BUTTON("", kLeftDiffCmd); wid.push_back(myLeftDiffButton); - myRightDiffButton = ADD_CD_BUTTON("", kLeftDiffCmd); + myRightDiffButton = ADD_CD_BUTTON("", kRightDiffCmd); wid.push_back(myRightDiffButton); // Column 2