diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 88016b1c..f6b68034 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1624,12 +1624,16 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
1624 | } | 1624 | } |
1625 | iString *msg = collectNew_String(); | 1625 | iString *msg = collectNew_String(); |
1626 | if (isEmpty_String(&d->sourceHeader)) { | 1626 | if (isEmpty_String(&d->sourceHeader)) { |
1627 | appendFormat_String(msg, "%s\n%zu ${bytes}\n", cstr_String(meta), size_Block(&d->sourceContent)); | 1627 | appendFormat_String(msg, |
1628 | "%s\n%s\n", | ||
1629 | cstr_String(meta), | ||
1630 | formatCStrs_Lang("num.bytes.n", size_Block(&d->sourceContent))); | ||
1628 | } | 1631 | } |
1629 | else { | 1632 | else { |
1630 | appendFormat_String(msg, "%s\n", cstr_String(&d->sourceHeader)); | 1633 | appendFormat_String(msg, "%s\n", cstr_String(&d->sourceHeader)); |
1631 | if (size_Block(&d->sourceContent)) { | 1634 | if (size_Block(&d->sourceContent)) { |
1632 | appendFormat_String(msg, "%zu ${bytes}\n", size_Block(&d->sourceContent)); | 1635 | appendFormat_String( |
1636 | msg, "%s\n", formatCStrs_Lang("num.bytes.n", size_Block(&d->sourceContent))); | ||
1633 | } | 1637 | } |
1634 | } | 1638 | } |
1635 | appendFormat_String( | 1639 | appendFormat_String( |