From 0676cd0d2ba1a38bbb1596c45ce12049adba2384 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Fri, 10 May 2019 08:27:26 +0300 Subject: [PATCH] Fixed: Invalid root html style --HG-- branch : develop --- code/nel/src/gui/group_html.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp index 5d8e8014e..2a898fa41 100644 --- a/code/nel/src/gui/group_html.cpp +++ b/code/nel/src/gui/group_html.cpp @@ -5799,10 +5799,9 @@ namespace NLGUI { if (elm.hasNonEmptyAttribute("style")) { - _Style.Root = _Style.Current; - _Style.applyRootStyle(elm.getAttribute("style")); - _Style.Current = _Style.Root; + _Style.applyStyle(elm.getAttribute("style")); } + _Style.Root = _Style.Current; applyBackground(elm); }