aboutsummaryrefslogtreecommitdiff
path: root/gamemode/utility/svg
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/utility/svg')
-rw-r--r--gamemode/utility/svg/cl_svg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/utility/svg/cl_svg.lua b/gamemode/utility/svg/cl_svg.lua
index 1ab37bb..6f34390 100644
--- a/gamemode/utility/svg/cl_svg.lua
+++ b/gamemode/utility/svg/cl_svg.lua
@@ -68,7 +68,7 @@ function svg.MaterialFromSVG(spath,background,foreground)
end
html:SetHTML(string.format([[
<style>%s%sbody{overflow:hidden}</style><body>%s</body>
-]],background and bgf or "",fgf and foreground or "",svgdata))
+]],background and bgf or "",foreground and fgf or "",svgdata))
local mat = {}
toprocess[#toprocess + 1] = {mat,html}
return mat