diff --git a/code/nel/include/nel/gui/css_style.h b/code/nel/include/nel/gui/css_style.h index 0937ebe0b..9c66d05af 100644 --- a/code/nel/include/nel/gui/css_style.h +++ b/code/nel/include/nel/gui/css_style.h @@ -167,11 +167,8 @@ namespace NLGUI return Current.FontSize-2; } - sint styleStackIndex = 0; - inline void pushStyle() { - styleStackIndex++; _StyleStack.push_back(Current); Current.DisplayBlock = false; @@ -186,7 +183,6 @@ namespace NLGUI inline void popStyle() { - styleStackIndex--; if (_StyleStack.empty()) { Current = Root;