Changed: remove old code

--HG--
branch : atys
hg/atys
Nimetu 6 years ago
parent 07ba1aa3d0
commit 8060c05be5

@ -167,11 +167,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.DisplayBlock = false; Current.DisplayBlock = false;
@ -186,7 +183,6 @@ namespace NLGUI
inline void popStyle() inline void popStyle()
{ {
styleStackIndex--;
if (_StyleStack.empty()) if (_StyleStack.empty())
{ {
Current = Root; Current = Root;

Loading…
Cancel
Save