summaryrefslogtreecommitdiffhomepage
path: root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 20a1b81..a9a61fa 100644
--- a/lib.c
+++ b/lib.c
@@ -131,7 +131,7 @@ format_source_context(uc_stringbuf_t *buf, uc_source *src, size_t off, bool comp
len = strlen(line);
rlen += len;
- if (rlen > off) {
+ if (rlen >= off) {
if (compact)
ucv_stringbuf_printf(buf, "\033[2;40;97m%17s %s",
source_filename(src, eline),