Skip to content

Commit ee8b632

Browse files
committed
Fixed bug in argument when strtok textbox contains multiple white space
1 parent 9d1b3d1 commit ee8b632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easyDe4dot/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private void StartDe4dot(){
124124
}
125125
args.Add((string)cmbStrype.SelectedItem);
126126

127-
string[] toks = txtStrtok.Text.Split(' ');
127+
string[] toks = txtStrtok.Text.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
128128
if (toks.Length == 0)
129129
{
130130
MessageBox.Show("Strtok can't be empty");

0 commit comments

Comments
 (0)