diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-29 13:31:23 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-29 13:31:23 +0000 |
| commit | b11cc9582440fd162d058aefc942a6441eb80675 (patch) | |
| tree | dfb8e0e1e8ddb21f98de96ff47530bb8f7818b6c /macosx/PluginController.m | |
| parent | b8e853cbdd5bc80653cdac1e599e0d4d87d709ab (diff) | |
| download | pcsxr-b11cc9582440fd162d058aefc942a6441eb80675.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38448 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PluginController.m')
| -rw-r--r-- | macosx/PluginController.m | 12 |
1 files changed, 6 insertions, 6 deletions
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]; } |
