From 70649fff20e78d2d930ae9bd502007de4394b7b3 Mon Sep 17 00:00:00 2001 From: markgrebe Date: Tue, 28 Feb 2006 02:17:26 +0000 Subject: [PATCH] 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 --- stella/src/macosx/Preferences.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stella/src/macosx/Preferences.m b/stella/src/macosx/Preferences.m index 5892627a3..bd2361c6d 100755 --- a/stella/src/macosx/Preferences.m +++ b/stella/src/macosx/Preferences.m @@ -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 #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]; } }