use human_friendly_bytesize

svn path=/trunk/netsurf/; revision=12619
This commit is contained in:
Chris Young 2011-07-23 15:34:52 +00:00
parent 7f6b694732
commit 79268e6d83
1 changed files with 3 additions and 3 deletions

View File

@ -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"));