xpm.lua

changeset 3
7f619444bc2a
parent 2
475bf0c54822
--- a/xpm.lua	Wed Nov 04 02:18:39 2009 +0000
+++ b/xpm.lua	Wed Nov 04 03:22:42 2009 +0000
@@ -29,7 +29,7 @@
 function render(xpm, f)
 	local err;
 	if type(f) == "string" then
-		f = io.open(out, "w+");
+		f = io.open(f, "w+");
 	end
 	if io.type(f) ~= "file" then
 		error("No valid output file", 2);

mercurial