From 0099eb3ba4e8ec4420567eec04dc13fa4680baaf Mon Sep 17 00:00:00 2001 From: Nimetu Date: Thu, 27 Dec 2018 11:32:52 +0200 Subject: [PATCH] Changed: Do not restrict html font-family to inherit/monospace only. --HG-- branch : develop --- code/nel/src/gui/group_html.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp index 6c1444f5c..92431a3aa 100644 --- a/code/nel/src/gui/group_html.cpp +++ b/code/nel/src/gui/group_html.cpp @@ -6301,10 +6301,7 @@ namespace NLGUI if (it->second == "inherit") style.FontFamily = current.FontFamily; else - if (it->second == "monospace") - style.FontFamily = "monospace"; - else - style.FontFamily.clear(); + style.FontFamily = it->second; } else if (it->first == "font-weight")