summaryrefslogtreecommitdiff
path: root/source/ui_demos.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-08-02 14:26:44 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-08-02 14:26:44 +0000
commit5c73f165141b30d93309d25e1324bc0170eb4da5 (patch)
treed84f0c561cff6c9549f3f618f943f7fa15704c71 /source/ui_demos.c
parent3c5ecddd3696c142bf730e808c8184511b525ae3 (diff)
Made Q_ClearStr operate in place and renamed it to COM_strclr.
Removed unused Q_HightlightStr function. Changed Q_ prefix on several functions to COM_ for consistency. Clear the message string before passing it to Cmd_ExecTrigger.
Diffstat (limited to 'source/ui_demos.c')
-rw-r--r--source/ui_demos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ui_demos.c b/source/ui_demos.c
index ce2e8d7..9e15a01 100644
--- a/source/ui_demos.c
+++ b/source/ui_demos.c
@@ -85,7 +85,7 @@ static void BuildName( file_info_t *info, char **cache ) {
CL_GetDemoInfo( buffer, &demo );
}
- Q_FormatFileSize( buffer, info->size, sizeof( buffer ) );
+ COM_FormatFileSize( buffer, info->size, sizeof( buffer ) );
e = UI_FormatColumns( DEMO_EXTRASIZE,
info->name, buffer, demo.map, demo.pov, NULL );