Skip to content

Commit

Permalink
Add image error link
Browse files Browse the repository at this point in the history
  • Loading branch information
wrt54g committed Aug 12, 2022
1 parent f216a22 commit 3f2a134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public partial class MainForm : Form
private KeyboardHook _Hook = new KeyboardHook();
private Color _Brightest = Color.White;
private int _FadeDistance = 15;
private readonly string _VersionNumber = "1.1";
private readonly string _VersionNumber = "source";

public MainForm()
{
Expand Down Expand Up @@ -65,7 +65,7 @@ private void button1_Click(object sender, EventArgs e)
}
catch
{
Logger.AddLog($"Error opening image file");
Logger.AddLog($"Error opening image file, see https://github.com/MrFlapstaart/GameOCRTTS#error-opening-image-file");
logBox.Text = Logger.Finish();
MessageBox.Show("This is not a valid image file!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
Expand Down

0 comments on commit 3f2a134

Please sign in to comment.