util.datamanager: Add missing mode flag to seek call
authorKim Alvefur <zash@zash.se>
Tue, 31 Jul 2012 08:23:55 +0200
changeset 5057 1e44678b5de2
parent 5056 a125daa42ad4
child 5058 433cc9a4c7e9
child 5066 4be7093edde9
util.datamanager: Add missing mode flag to seek call
util/datamanager.lua
--- a/util/datamanager.lua	Mon Jul 30 18:50:46 2012 +0100
+++ b/util/datamanager.lua	Tue Jul 31 08:23:55 2012 +0200
@@ -43,7 +43,7 @@
 		if not ok then
 			return ok, msg;
 		end
-		f:seek(offset);
+		f:seek("set", offset);
 		return true;
 	end
 end