Fix modmanager screenshot path
authorBlockMen <nmuelll@web.de>
Tue, 19 Nov 2013 14:39:40 +0000 (15:39 +0100)
committerBlockMen <nmuelll@web.de>
Tue, 19 Nov 2013 14:39:40 +0000 (15:39 +0100)
builtin/modmgr.lua

index 490336f06af26ede4e2c8b1f0e6aaa967ea14d7f..611032d4ae818f5f29e972ee22ba688a95708665 100644 (file)
@@ -267,7 +267,7 @@ function modmgr.tab()
                end
                
                retval = retval 
-                               .. "image[5.5,0;3,2;" .. modscreenshot .. "]"
+                               .. "image[5.5,0;3,2;" .. engine.formspec_escape(modscreenshot) .. "]"
                                .. "label[8.25,0.6;" .. selected_mod.name .. "]"
                                
                local descriptionlines = nil