From b11cc9582440fd162d058aefc942a6441eb80675 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sun, 29 Nov 2009 13:31:23 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38448 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/PluginController.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'macosx/PluginController.m') diff --git a/macosx/PluginController.m b/macosx/PluginController.m index 1b4d1e79..007e6194 100644 --- a/macosx/PluginController.m +++ b/macosx/PluginController.m @@ -47,20 +47,20 @@ { NSString *sel; int i; - + // remember the list pluginType = type; plugins = [list retain]; defaultKey = [[PcsxPlugin getDefaultKeyForType:pluginType] retain]; - + // clear the previous menu items [pluginMenu removeAllItems]; - + // load the currently selected plugin sel = [[NSUserDefaults standardUserDefaults] stringForKey:defaultKey]; - + // add the menu entries - for (i=0; i<[plugins count]; i++) { + for (i = 0; i < [plugins count]; i++) { [pluginMenu addItemWithTitle:[[plugins objectAtIndex:i] description]]; // make sure the currently selected is set as such @@ -68,7 +68,7 @@ [pluginMenu selectItemAtIndex:i]; } } - + [self selectPlugin:pluginMenu]; } -- cgit v1.2.3