Skip to content

Commit 2351fcf

Browse files
committed
Fixed a little whoopsie with the OpenFileDialog filter
- Changed "*.txt" to "*.c" so it filters C Source files instead of text files
1 parent 62cd314 commit 2351fcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SimpleScoclScriptCompiler/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private void browseSourceFileButton_Click(object sender, EventArgs e)
105105
{
106106
using (OpenFileDialog ofd = new OpenFileDialog())
107107
{
108-
ofd.Filter = "c source files (*.c)|*.txt|All files (*.*)|*.*";
108+
ofd.Filter = "c source files (*.c)|*.c|All files (*.*)|*.*";
109109

110110
if (ofd.ShowDialog() == DialogResult.OK)
111111
{

0 commit comments

Comments
 (0)