Skip to content

Commit

Permalink
Merge pull request Mudlet#235 from SlySven/bugfix_colorTriggerDialogI…
Browse files Browse the repository at this point in the history
…ssue

bugfix: typos in dlgColorTrigger messes up cyan and lWhite triggers
  • Loading branch information
Chris7 committed Jan 13, 2015
2 parents 9d08e4a + 7bf8b93 commit 1894313
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dlgColorTrigger.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/***************************************************************************
* Copyright (C) 2008-2009 by Heiko Koehn - KoehnHeiko@googlemail.com *
* Copyright (C) 2014 by Ahmed Charles - acharles@outlook.com *
* Copyright (C) 2015 by Stephen Lyons - slysven@virginmedia.com *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
Expand Down Expand Up @@ -335,7 +336,7 @@ void dlgColorTrigger::setColorCyan()
{
mpTrigger->mColorTriggerFg = true;
mpTrigger->mColorTriggerFgAnsi = 14;
mpTrigger->mColorTriggerBgColor = mpTrigger->mpHost->mCyan;
mpTrigger->mColorTriggerFgColor = mpTrigger->mpHost->mCyan;
}
else
{
Expand Down Expand Up @@ -427,7 +428,7 @@ void dlgColorTrigger::setColorLightWhite()
{
mpTrigger->mColorTriggerFg = true;
mpTrigger->mColorTriggerFgAnsi = 15;
mpTrigger->mColorTriggerBgColor = mpTrigger->mpHost->mLightWhite;
mpTrigger->mColorTriggerFgColor = mpTrigger->mpHost->mLightWhite;
}
else
{
Expand Down

0 comments on commit 1894313

Please sign in to comment.