浏览代码

formatting

Laserlicht 2 年之前
父节点
当前提交
efcf6b71d7
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      client/windows/CCastleInterface.cpp
  2. 2 2
      client/windows/CCastleInterface.h

+ 2 - 2
client/windows/CCastleInterface.cpp

@@ -359,9 +359,9 @@ void CHeroGSlot::gesture(bool on, const Point & initialPosition, const Point & f
 			ony += [=](){ LOCPLINT->cb->dismissHero(hero); };
 			LOCPLINT->showYesNoDialog(CGI->generaltexth->allTexts[22], ony, nullptr);
 		} },
-		};
+	};
 
-		GH.windows().createAndPushWindow<RadialMenu>(pos.center(), menuElements);
+	GH.windows().createAndPushWindow<RadialMenu>(pos.center(), menuElements);
 }
 
 void CHeroGSlot::hover(bool on)

+ 2 - 2
client/windows/CCastleInterface.h

@@ -155,7 +155,7 @@ class CCastleBuildings : public CIntObject
 	void enterCastleGate();
 	void enterFountain(const BuildingID & building, BuildingSubID::EBuildingSubID subID, BuildingID upgrades);//Rampart's fountains
 	void enterMagesGuild();
-	
+
 	void openMagesGuild();
 	void openTownHall();
 
@@ -229,7 +229,7 @@ class CCastleInterface : public CStatusbarWindow, public IGarrisonHolder
 	std::shared_ptr<CButton> split;
 	std::shared_ptr<CButton> fastTownHall;
 	std::shared_ptr<CButton> fastArmyPurchase;
-	
+
 	std::vector<std::shared_ptr<CCreaInfo>> creainfo;//small icons of creatures (bottom-left corner);
 
 public: