Merge branch 'master' of github.com:ShareX/ShareX

This commit is contained in:
Jaex 2014-05-30 10:42:49 +03:00
commit fade5485e3

View file

@ -89,7 +89,7 @@ public IEnumerable<Image> GetImageEnumerator()
{
if (index.Location > int.MaxValue || index.Length > int.MaxValue)
{
MessageBox.Show("Cache file size cannot exceed 2.14 GB.\r\nPlease use FFmpeg screen recording instead of GIF.", "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Warning);
MessageBox.Show(string.Format("Cache file size cannot exceed {0} Bytes.\r\nPlease use FFmpeg screen recording instead of GIF.", int.MaxValue), "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Warning);
yield break;
}