浏览代码

Fix build

George King 3 月之前
父节点
当前提交
c9e814ac21
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      client/windows/InfoWindows.cpp

+ 6 - 2
client/windows/InfoWindows.cpp

@@ -323,10 +323,14 @@ CInfoBoxPopup::CInfoBoxPopup(Point position, const CGGarrison * garr)
 
 	OBJECT_CONSTRUCTION;
 
-    if(settings["general"]["enableUiEnhancements"].Bool())
+	if(settings["general"]["enableUiEnhancements"].Bool())
+	{
         tooltip = std::make_shared<CGarrisonTooltip>(Point(9, 10), iah);
-     else
+	}
+	else
+	{
         tooltip = std::make_shared<CTownTooltip>(Point(9, 10), iah);
+	}
 
 	addUsedEvents(DRAG_POPUP);