From 98f9382fb8307e539091454392ca658648f722b8 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sat, 12 Nov 2011 20:07:20 +0000 Subject: Big Mac Commit! Updating plug-ins to use Release instead of Debug for command line building. Update to use 64-bit safe datatypes (NSInteger where needed). Getting rid of no longer used variables in the Xcode projects. Making a Localizable.strings file. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72225 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFSound/macsrc/NamedSlider.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'macosx/plugins/DFSound/macsrc') diff --git a/macosx/plugins/DFSound/macsrc/NamedSlider.m b/macosx/plugins/DFSound/macsrc/NamedSlider.m index 0196a168..2db2f25e 100644 --- a/macosx/plugins/DFSound/macsrc/NamedSlider.m +++ b/macosx/plugins/DFSound/macsrc/NamedSlider.m @@ -10,13 +10,14 @@ - (void)setStrings:(NSArray *)theStrings { + [theStrings retain]; [strings release]; - strings = [theStrings retain]; + strings = theStrings; } - (NSString *)stringValue { - int index = [self intValue]; + NSInteger index = [self integerValue]; if (index >= 0 && index < [strings count]) return [strings objectAtIndex:index]; -- cgit v1.2.3