freebsd-ports/games/lordsawar/files/patch-src_gui_stack-army-button.cpp
Dmitry Marakasov 1ff45cdd0a - Fix build by using correct shell
- Fix build on 9.x by properly using c++11
2016-11-14 16:10:57 +00:00

11 lines
503 B
C++

--- src/gui/stack-army-button.cpp.orig 2015-06-20 22:48:43 UTC
+++ src/gui/stack-army-button.cpp
@@ -146,7 +146,7 @@ void StackArmyButton::fill_army_button()
{
bool greyed_out = false;
Stack *active_stack = p->getActivestack();
- if (active_stack->getArmyById(d_army->getId()) == false)
+ if (!active_stack->getArmyById(d_army->getId()))
greyed_out = true;
army_image->property_pixbuf() =
gc->getCircledArmyPic(p->getArmyset(), d_army->getTypeId(),