Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Fixed oversight, fixes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
SonoSooS committed Nov 24, 2016
1 parent 6c7b143 commit ec902da
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -160,7 +160,8 @@ private void firmwdownload(YLS_Sysver sys, char region)
sb.Append(chr);
sb.Append(", ");
}
sb.Remove(sb.Length - 3, 2);
if(sb.Length > 2)
sb.Remove(sb.Length - 3, 2);

MessageBox.Show("Invalid region! Valid regions are:\r\n" + sb.ToString(), "Invalid region", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
Expand Down

0 comments on commit ec902da

Please sign in to comment.