summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-30 16:15:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-30 16:15:51 -0700
commit82d4ffbdcd63d3c2e54d04f457ff4394f35f3c7a (patch)
treebd0210f3ef8892d83e00ff5499aca101fc5d7927 /core
parent241dd7cb81364521d78250f800e8508211575254 (diff)
downloadsubsurface-82d4ffbdcd63d3c2e54d04f457ff4394f35f3c7a.tar.gz
Fix typo
Otherwise this code makes no sense (and has no effect). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/file.c b/core/file.c
index 4c0ae8fd0..b30bcd55e 100644
--- a/core/file.c
+++ b/core/file.c
@@ -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));