diff --git a/src/ChartImage.cs b/src/ChartImage.cs index dee0420..b247691 100644 --- a/src/ChartImage.cs +++ b/src/ChartImage.cs @@ -39,7 +39,7 @@ public class ChartImage else { if ( ! mShortcuts.ContainsKey( shortcut ) ) mShortcuts[ shortcut ] = new List() ; - logger.Info( $"Registering shortcut: {shortcutString(shortcut.Item1,shortcut.Item2)} => ${caption()}" ) ; + logger.Info( $"Registering shortcut: {shortcutString(shortcut.Item1,shortcut.Item2)} => {caption()}" ) ; mShortcuts[ shortcut ].Add( this ) ; } } @@ -144,7 +144,8 @@ public class ChartImage private Tuple parseShortcut( string val ) { // parse the shortcut - string[] parts = val.ToLower().Split( "-" ) ; + // FUDGE! Can't just pass in '-' since a Mono-compiled EXE has trouble running on Windows :-/ + string[] parts = val.ToLower().Split( new char[]{'-'} ) ; Keys modifiers = 0 ; for ( int i=0 ; i < parts.Length-1 ; ++i ) { if ( parts[i] == "ctrl" )