Fixed issue with encoding that appeared with OSX 10.4.4

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@962 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
markgrebe 2006-01-15 02:12:09 +00:00
parent ea105e6b0f
commit d06a92762b
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
TextEdit application.
*/
/* $Id: Preferences.m,v 1.1.1.1 2004-06-16 02:30:30 markgrebe Exp $ */
/* $Id: Preferences.m,v 1.2 2006-01-15 02:12:09 markgrebe Exp $ */
#import <Cocoa/Cocoa.h>
#import "Preferences.h"
@ -65,7 +65,7 @@ static Preferences *sharedInstance = nil;
if (theValue == nil)
value[0] = 0;
else {
[theValue getCString:value maxLength:1023];
[theValue getCString:value maxLength:1023 encoding:NSASCIIStringEncoding];
[theKey release];
}
}