mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:53:23 +00:00
Fix typo
Otherwise this code makes no sense (and has no effect). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
241dd7cb81
commit
82d4ffbdcd
1 changed files with 1 additions and 1 deletions
|
@ -962,7 +962,7 @@ int parse_csv_file(const char *filename, char **params, int pnr, const char *csv
|
|||
if (ptr)
|
||||
ptr = strstr(ptr, NL);
|
||||
if (ptr)
|
||||
ptr + strlen(NL);
|
||||
ptr += strlen(NL);
|
||||
|
||||
/* Move the CSV data to the start of mem buffer */
|
||||
memmove(mem.buffer, ptr, mem.size - (ptr - (char*)mem.buffer));
|
||||
|
|
Loading…
Add table
Reference in a new issue