From f9ffb30d9ae42ea2837e4f6f301d5c22efd96ccd Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 9 Oct 2010 15:04:40 +0900 Subject: [PATCH] Got the value/key backwards. --- tools/Forge/Bundles/MapEdit/Preferences.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Forge/Bundles/MapEdit/Preferences.m b/tools/Forge/Bundles/MapEdit/Preferences.m index 4a5d0bf95..6a51b2054 100644 --- a/tools/Forge/Bundles/MapEdit/Preferences.m +++ b/tools/Forge/Bundles/MapEdit/Preferences.m @@ -19,7 +19,7 @@ float lightaxis[3] = {1, 0.6, 0.75}; void WriteStringDefault (id prefs, NSString *name, NSString *value) { - [prefs setObject: name forKey: value]; + [prefs setObject: value forKey: name]; } void