X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=videoplayer%2Fsrc%2Fmain.rs;fp=videoplayer%2Fsrc%2Fmain.rs;h=c681e9c459b97593f58749829a1bb05050ddcb2b;hb=c66ce56577a58f3e5fc4885fbeab9135151c8f01;hp=d3aef1babb219e53b4240452c1b009e62b7f6e4a;hpb=6cdca68728a7ad4c7a37e3c9244c645a912f422c;p=nihav-player.git diff --git a/videoplayer/src/main.rs b/videoplayer/src/main.rs index d3aef1b..c681e9c 100644 --- a/videoplayer/src/main.rs +++ b/videoplayer/src/main.rs @@ -720,7 +720,7 @@ impl Player { let wname = if let Some(fname) = fname { // workaround for libSDL2 workaround for non-UTF8 windowing systems // see https://github.com/libsdl-org/SDL/pull/4290 for detais - let nname = fname.to_str().expect("should be able to set window title").replace('\u{2013}', "-"); + let nname = fname.to_str().expect("should be able to set window title").replace('\u{2013}', "-").replace('\u{2014}', "-"); "NihAV player - ".to_owned() + &nname } else { "NihAV player".to_owned()