Skip to content

Commit

Permalink
Add dot to extension name
Browse files Browse the repository at this point in the history
  • Loading branch information
devkanro authored Jul 5, 2017
1 parent f03c5c5 commit ca8c1b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Meta.Vlc.Wpf/SnapshotContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ public SnapshotContext(String path, int quality)
Name = System.IO.Path.GetFileName(path);
switch (System.IO.Path.GetExtension(path).ToLower())
{
case "bmp":
case ".bmp":
Format = SnapshotFormat.BMP;
break;
case "png":
case ".png":
Format = SnapshotFormat.PNG;
break;
case "jpg":
case "jpeg":
case ".jpg":
case ".jpeg":
Format = SnapshotFormat.JPG;
break;
default:
Expand Down Expand Up @@ -114,4 +114,4 @@ private String GetName(VlcPlayer player)
}
#endregion --- Methods ---
}
}
}

0 comments on commit ca8c1b5

Please sign in to comment.