From 5dc8b4ef8686271d35850e02f20e9e3560d5a1ba Mon Sep 17 00:00:00 2001 From: Nimetu Date: Mon, 16 Sep 2019 23:23:58 +0300 Subject: [PATCH] Changed: remove old code --HG-- branch : html-improvements --- code/nel/include/nel/gui/css_style.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/code/nel/include/nel/gui/css_style.h b/code/nel/include/nel/gui/css_style.h index bbeac8d9a..d972940e1 100644 --- a/code/nel/include/nel/gui/css_style.h +++ b/code/nel/include/nel/gui/css_style.h @@ -204,11 +204,8 @@ namespace NLGUI return Current.FontSize-2; } - sint styleStackIndex = 0; - inline void pushStyle() { - styleStackIndex++; _StyleStack.push_back(Current); Current.GlobalColor = false; @@ -228,7 +225,6 @@ namespace NLGUI inline void popStyle() { - styleStackIndex--; if (_StyleStack.empty()) { Current = Root;