mirror of https://github.com/stella-emu/stella.git
Reverted getCString function call which may have been causing preferences problems.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1010 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
419c35cf6a
commit
70649fff20
|
@ -7,7 +7,7 @@
|
|||
TextEdit application.
|
||||
|
||||
*/
|
||||
/* $Id: Preferences.m,v 1.2 2006-01-15 02:12:09 markgrebe Exp $ */
|
||||
/* $Id: Preferences.m,v 1.3 2006-02-28 02:17:26 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 encoding:NSASCIIStringEncoding];
|
||||
[theValue getCString:value];
|
||||
[theKey release];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue