Changed: remove old code

--HG--
branch : html-improvements
hg/feature/html-improvements
Nimetu 5 years ago
parent 07a83ba15a
commit 5dc8b4ef86

@ -204,11 +204,8 @@ namespace NLGUI
return Current.FontSize-2; return Current.FontSize-2;
} }
sint styleStackIndex = 0;
inline void pushStyle() inline void pushStyle()
{ {
styleStackIndex++;
_StyleStack.push_back(Current); _StyleStack.push_back(Current);
Current.GlobalColor = false; Current.GlobalColor = false;
@ -228,7 +225,6 @@ namespace NLGUI
inline void popStyle() inline void popStyle()
{ {
styleStackIndex--;
if (_StyleStack.empty()) if (_StyleStack.empty())
{ {
Current = Root; Current = Root;

Loading…
Cancel
Save