mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
Fixed problem with "uppercase" in extension, for instance JIRA doesn't show .Png as a picture preview when a e.g. "screenshot.Png" is attached to an issue.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@905 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
3fc8b3fbc2
commit
457a43dfc1
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ namespace Greenshot.Helpers {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string GetFilenameFromPattern(string pattern, OutputFormat imageFormat, ICaptureDetails captureDetails) {
|
public static string GetFilenameFromPattern(string pattern, OutputFormat imageFormat, ICaptureDetails captureDetails) {
|
||||||
return FillPattern(pattern, captureDetails) + "." + imageFormat;
|
return FillPattern(pattern, captureDetails) + "." + imageFormat.ToString().ToLower();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue