diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mds-kbdc/compile-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/compile-layout.c b/src/mds-kbdc/compile-layout.c index 1a31b00..f393511 100644 --- a/src/mds-kbdc/compile-layout.c +++ b/src/mds-kbdc/compile-layout.c @@ -481,7 +481,7 @@ static void check_function_call(const mds_kbdc_tree_t* restrict tree, const char *rc |= 1; NEW_ERROR(tree, ERROR, "function ‘%s/%zu’ has not been defined yet", name, arg_count); error->start = lineoff; - error->end = lineoff + (size_t)(bracket - raw); + error->end = lineoff + (size_t)(*end - raw); return; pfail: |