1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fix formatting

This commit is contained in:
Ivan Savenko
2022-12-21 13:18:16 +02:00
parent b5925995b1
commit 822df113f3
2 changed files with 2 additions and 2 deletions

View File

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

View File

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