diff --git a/Boxer.xcodeproj/project.pbxproj b/Boxer.xcodeproj/project.pbxproj index c33be7b0..5eed1cc9 100644 --- a/Boxer.xcodeproj/project.pbxproj +++ b/Boxer.xcodeproj/project.pbxproj @@ -2108,7 +2108,7 @@ F192BC7F28C7FE0900B8D48D /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = ""; }; F192BC8028C7FE0A00B8D48D /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = ""; }; F192BC8128C7FE0A00B8D48D /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/DOSBox.strings; sourceTree = ""; }; - F192BC8228C7FE0A00B8D48D /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Shell.strings; sourceTree = ""; }; + F192BC8228C7FE0A00B8D48D /* fr */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Shell.strings; sourceTree = ""; }; F192BC8328C7FE0A00B8D48D /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Configuration.strings; sourceTree = ""; }; F192BC8428C7FE0A00B8D48D /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = ""; }; /* End PBXFileReference section */ diff --git a/Boxer/DOS window/BXStatusBarController.m b/Boxer/DOS window/BXStatusBarController.m index 99499011..0e540c99 100644 --- a/Boxer/DOS window/BXStatusBarController.m +++ b/Boxer/DOS window/BXStatusBarController.m @@ -157,13 +157,13 @@ - (void) _syncSegmentedButtonStates [self.statusBarControls setEnabled: session.hasGamebox forSegment: BXStatusBarProgramPanelSegment]; [self.statusBarControls setEnabled: self.controller.inputController.mouseActive forSegment: BXStatusBarMouseLockSegment]; - NSString *panelImageName; + NSImage *panelImage; if ([self.statusBarControls isSelectedForSegment: BXStatusBarProgramPanelSegment]) { - panelImageName = @"PanelCollapseTemplate"; + panelImage = [NSImage imageNamed: @"PanelCollapseTemplate"]; } else { - panelImageName = @"PanelExpandTemplate"; + panelImage = [NSImage imageNamed: @"PanelExpandTemplate"]; } - [self.statusBarControls setImage: [NSImage imageNamed: panelImageName] forSegment: BXStatusBarProgramPanelSegment]; + [self.statusBarControls setImage: panelImage forSegment: BXStatusBarProgramPanelSegment]; NSString *lockImageName; if ([self.statusBarControls isSelectedForSegment: BXStatusBarMouseLockSegment]) {