Got the value/key backwards.

This commit is contained in:
Bill Currie 2010-10-09 15:04:40 +09:00
parent c2644699a4
commit ae1d5245ad

View file

@ -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