summaryrefslogtreecommitdiff
path: root/src/q_shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/q_shared.c')
-rw-r--r--src/q_shared.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/q_shared.c b/src/q_shared.c
index a032749..877b13a 100644
--- a/src/q_shared.c
+++ b/src/q_shared.c
@@ -422,16 +422,6 @@ qboolean COM_iswhite( const char *s ) {
return qtrue;
}
-size_t COM_FormatFileSize( char *dest, size_t bytes, size_t size ) {
- if( bytes >= 1000000 ) {
- return Q_snprintf( dest, size, "%2.1fM", ( float )bytes / 1000000 );
- }
- if( bytes >= 1000 ) {
- return Q_snprintf( dest, size, "%3"PRIz"K", bytes / 1000 );
- }
- return Q_snprintf( dest, size, "%3"PRIz, bytes );
-}
-
/*
============
va