diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-23 19:24:03 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-23 19:24:03 +0000 |
| commit | bda521f3a4c42277160381ddfbfb8e42b7e87274 (patch) | |
| tree | 2f09725f74d05c9f1cc9d15cf603d5573414d534 /macosx/PluginController.m | |
| parent | 148ac41c4d75acd6df08ef8ce204235b1e09e921 (diff) | |
| download | pcsxr-bda521f3a4c42277160381ddfbfb8e42b7e87274.tar.gz | |
Changing encoding of c strings returned for the linker on OS X to ASCII: I doubt the Mach-O file format is in UTF-8
Fixing releasing when the parent's class init fails: The proper way is to pass null when that happens, not release then pass null.
Using fast enumeration where possible.
Modified the bin/cue handling to also find the bin for .toc files. Note that there isn't a UTI for .toc files yet.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79980 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PluginController.m')
| -rw-r--r-- | macosx/PluginController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/PluginController.m b/macosx/PluginController.m index d75e8892..d89b38fc 100644 --- a/macosx/PluginController.m +++ b/macosx/PluginController.m @@ -20,7 +20,7 @@ - (IBAction)selectPlugin:(id)sender { if (sender==pluginMenu) { - int index = [pluginMenu indexOfSelectedItem]; + NSInteger index = [pluginMenu indexOfSelectedItem]; if (index != -1) { PcsxrPlugin *plugin = [plugins objectAtIndex:index]; |
