mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-27 03:44:23 +03:00
use human_friendly_bytesize
svn path=/trunk/netsurf/; revision=12619
This commit is contained in:
parent
7f6b694732
commit
79268e6d83
@ -376,10 +376,10 @@ BOOL ami_download_check_overwrite(const char *file, struct Window *win, ULONG si
|
||||
oldsize = GetFileSize(fh);
|
||||
Close(fh);
|
||||
}
|
||||
overwritetext = ASPrintf("%s\n\n%s %lu %s\n%s %lu %s",
|
||||
overwritetext = ASPrintf("%s\n\n%s %s\n%s %s",
|
||||
messages_get("OverwriteFile"),
|
||||
messages_get("amiSizeExisting"), (ULONG)oldsize, messages_get("Bytes"),
|
||||
messages_get("amiSizeNew"), size, messages_get("Bytes"));
|
||||
messages_get("amiSizeExisting"), human_friendly_bytesize((ULONG)oldsize),
|
||||
messages_get("amiSizeNew"), human_friendly_bytesize(size));
|
||||
} else {
|
||||
UnLock(lock);
|
||||
overwritetext = ASPrintf(messages_get("OverwriteFile"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user