Got the value/key backwards.

This commit is contained in:
Bill Currie 2010-10-09 15:04:40 +09:00
parent 186657c784
commit f9ffb30d9a
1 changed files with 1 additions and 1 deletions

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