Skip to content

Commit 388c0b4

Browse files
committed
Fix csv importer.
1 parent c511074 commit 388c0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/WPF/MyMoney/Utilities/CsvImporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ public bool ReadRecord(string line)
451451
ch = '\0';
452452
}
453453
}
454-
if (ch == this._fieldDelimiter)
454+
if (ch == this._fieldDelimiter && pos < len)
455455
{
456456
ch = line[pos++];
457457
}

0 commit comments

Comments
 (0)