summaryrefslogtreecommitdiff
path: root/preproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'preproc.c')
-rw-r--r--preproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preproc.c b/preproc.c
index 0c223165..6c7106da 100644
--- a/preproc.c
+++ b/preproc.c
@@ -722,7 +722,7 @@ read_line(void)
return NULL;
}
- src_set_linnum(src_get_linnum() + istk->lineinc + continued_count);
+ src_set_linnum(src_get_linnum() + istk->lineinc + (continued_count * istk->lineinc));
/*
* Play safe: remove CRs as well as LFs, if any of either are