mirror of
https://github.com/celisej567/LibBSP.git
synced 2026-09-04 15:35:12 +03:00
Small coding style fix
This commit is contained in:
@@ -29,17 +29,17 @@ namespace LibBSP {
|
||||
if (c == separator) {
|
||||
switch (options) {
|
||||
case StringSplitOptions.RemoveEmptyEntries: {
|
||||
if (current.Length > 0) {
|
||||
results.Add(current.ToString());
|
||||
}
|
||||
current.Length = 0;
|
||||
break;
|
||||
}
|
||||
case StringSplitOptions.None: {
|
||||
if (current.Length > 0) {
|
||||
results.Add(current.ToString());
|
||||
current.Length = 0;
|
||||
break;
|
||||
}
|
||||
current.Length = 0;
|
||||
break;
|
||||
}
|
||||
case StringSplitOptions.None: {
|
||||
results.Add(current.ToString());
|
||||
current.Length = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
current.Append(c);
|
||||
|
||||
Reference in New Issue
Block a user