Browse Source

Fix formatting

Ivan Savenko 2 years ago
parent
commit
822df113f3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      client/battle/BattleInterfaceClasses.h
  2. 1 1
      client/widgets/TextControls.cpp

+ 1 - 1
client/battle/BattleInterfaceClasses.h

@@ -55,7 +55,7 @@ private:
 	/// current text entered via in-game console, takes priority over both log entries and hover text
 	std::string consoleText;
 
-	/// if true then we are currently entering console tex
+	/// if true then we are currently entering console text
 	bool enteringText;
 public:
 	BattleConsole(const Rect & position);

+ 1 - 1
client/widgets/TextControls.cpp

@@ -428,7 +428,7 @@ void CGStatusBar::init()
 
 void CGStatusBar::clickLeft(tribool down, bool previousState)
 {
-	if(!down && onClick )
+	if(!down && onClick)
 	{
 		if(LOCPLINT && LOCPLINT->cingconsole->active)
 			LOCPLINT->cingconsole->startEnteringText();