summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/sheet.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index 2c2624f..d7e6fe6 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -319,8 +319,10 @@ static bool hover_sheet(void *user, bool on, int dx, int dy)
if (s == sheet)
this = n;
}
- overlay_text(sheet->over, "<b>%s</b>\n<big>%d / %d</big>",
- title, this, n);
+ overlay_text(sheet->over, "<b>%s</b>\n<big>%d / %d</big>%s%s",
+ title, this, n,
+ sheet->sch->file ? "\n" : "",
+ sheet->sch->file ? sheet->sch->file : "");
} else {
overlay_text(sheet->over, "<b>%s</b>", title);
}