From 2e816ddf6ed89bc4dc3f58aa47fd614ed1b34654 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Wed, 1 Sep 2021 18:10:23 +0300 Subject: [PATCH] Add "transparent" to html color list --- nel/src/gui/libwww.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nel/src/gui/libwww.cpp b/nel/src/gui/libwww.cpp index 02217a541..5d739863d 100644 --- a/nel/src/gui/libwww.cpp +++ b/nel/src/gui/libwww.cpp @@ -628,6 +628,12 @@ namespace NLGUI return false; } + if (nlstricmp(src, "transparent") == 0) + { + dest = CRGBA::Transparent; + return true; + } + { // slow but should suffice for now for(uint k = 0; k < sizeofarray(htmlColorNameToRGBA); ++k)