configmanager: Fix some wacky indentation

Tue, 04 May 2010 23:07:49 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 04 May 2010 23:07:49 +0100
changeset 2974
f37dc6f038f3
parent 2973
61e103d99578
child 2975
c1a2e210f47e

configmanager: Fix some wacky indentation

core/configmanager.lua file | annotate | diff | comparison | revisions
--- a/core/configmanager.lua	Sun Apr 11 01:30:31 2010 +0100
+++ b/core/configmanager.lua	Tue May 04 23:07:49 2010 +0100
@@ -30,10 +30,11 @@
 -- When key not found in section, check key in global's section
 function section_mt(section_name)
 	return { __index = 	function (t, k)
-									local section = rawget(global_config, section_name);
-									if not section then return nil; end
-									return section[k];
-							end };
+					local section = rawget(global_config, section_name);
+					if not section then return nil; end
+					return section[k];
+				end
+	};
 end
 
 function getconfig()

mercurial