diff --git a/src/MainForm.cs b/src/MainForm.cs index f8421a1..90ce6e5 100644 --- a/src/MainForm.cs +++ b/src/MainForm.cs @@ -63,7 +63,8 @@ public partial class MainForm : Form string fullPath = Path.GetFullPath( fname ) ; if ( fullPath.StartsWith( dataDir ) ) { key = fname.Substring( dataDir.Length ) ; - if ( key.StartsWith( "/" ) || key.StartsWith( "\\" ) ) + key = key.Replace( "\\", "/" ) ; + if ( key.StartsWith( "/" ) ) key = key.Substring( 1 ) ; } else { // NOTE: I don't think we should ever get here :-/ If we do, the user will have to manage