Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vadi2 committed Aug 8, 2019
1 parent b41ee73 commit fbfb807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dlgProfilePreferences.cpp
Expand Up @@ -2911,13 +2911,13 @@ void dlgProfilePreferences::slot_changeShowLineFeedsAndParagraphs(const bool sta
* This is to deal particularly with the case where the preferences dialog is
* opened without a host instance being around - and then the user starts up
* a profile and one gets created.
* In that situation we detect the signal that the mudlet class sends out (now)
* In that situation we detect the signal that the mudlet class sends out
* when a host is created and wire it up into the controls that until then
* have been disabled/greyed-out.
*/
void dlgProfilePreferences::slot_handleHostAddition(Host* pHost, const quint8 count)
{
if (!mpHost && pHost && count < 1) {
if (!mpHost && pHost && count < 2) {
// We have not been constructed with a valid Host pointer,
// AND a real Host instance has just been created
// AND there is only one Host instance around.
Expand Down

0 comments on commit fbfb807

Please sign in to comment.