23 lines
773 B
Text
23 lines
773 B
Text
|
$NetBSD: patch-ab,v 1.4 2009/11/05 19:50:54 reinoud Exp $
|
||
|
|
||
|
--- ROX-Filer/src/infobox.c.orig 2009-07-18 16:23:18.000000000 +0200
|
||
|
+++ ROX-Filer/src/infobox.c
|
||
|
@@ -435,7 +435,7 @@ static void insert_size(DU *du, const ch
|
||
|
cell = (size >= PRETTY_SIZE_LIMIT)
|
||
|
? g_strdup_printf("%s (%" SIZE_FMT " %s)",
|
||
|
format_size(size),
|
||
|
- size, _("bytes"))
|
||
|
+ (intmax_t) size, _("bytes"))
|
||
|
: g_strdup(format_size(size));
|
||
|
|
||
|
set_cell(du->store, du->path, cell);
|
||
|
@@ -576,7 +576,7 @@ static GtkWidget *make_details(const guc
|
||
|
item->size >= PRETTY_SIZE_LIMIT
|
||
|
? g_strdup_printf("%s (%" SIZE_FMT " %s)",
|
||
|
format_size(item->size),
|
||
|
- item->size, _("bytes"))
|
||
|
+ (intmax_t) item->size, _("bytes"))
|
||
|
: g_strdup(format_size(item->size)));
|
||
|
}
|
||
|
else
|