Fixed bug in case filter string is blank

This commit is contained in:
Michael Becker 2015-05-01 20:35:29 -04:00
parent 7b831ef37c
commit be0b90b465

View File

@ -32,7 +32,8 @@ namespace UniversalEditor.UserInterface.WindowsForms
}
if (includeAllFiles)
{
sb.Append("|All files (*.*)|*.*");
if (sb.Length > 0) sb.Append("|");
sb.Append("All files (*.*)|*.*");
}
return sb.ToString();
}