Got the value/key backwards.

This commit is contained in:
Bill Currie 2010-10-09 15:04:40 +09:00
parent 186657c784
commit f9ffb30d9a

View file

@ -19,7 +19,7 @@ float lightaxis[3] = {1, 0.6, 0.75};
void void
WriteStringDefault (id prefs, NSString *name, NSString *value) WriteStringDefault (id prefs, NSString *name, NSString *value)
{ {
[prefs setObject: name forKey: value]; [prefs setObject: value forKey: name];
} }
void void