mirror of https://github.com/stella-emu/stella.git
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:
parent
ea105e6b0f
commit
d06a92762b
|
@ -7,7 +7,7 @@
|
||||||
TextEdit application.
|
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 <Cocoa/Cocoa.h>
|
||||||
#import "Preferences.h"
|
#import "Preferences.h"
|
||||||
|
@ -65,7 +65,7 @@ static Preferences *sharedInstance = nil;
|
||||||
if (theValue == nil)
|
if (theValue == nil)
|
||||||
value[0] = 0;
|
value[0] = 0;
|
||||||
else {
|
else {
|
||||||
[theValue getCString:value maxLength:1023];
|
[theValue getCString:value maxLength:1023 encoding:NSASCIIStringEncoding];
|
||||||
[theKey release];
|
[theKey release];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue