mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-13 08:27:42 +00:00
Added leading zero's in the "last refresh time" text
This commit is contained in:
parent
463b56e07a
commit
ccd12e3d6d
1 changed files with 6 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.27 2002/06/04 21:19:10 makro
|
||||||
|
// Added leading zero's in the "last refresh time" text
|
||||||
|
//
|
||||||
// Revision 1.26 2002/06/02 22:22:04 makro
|
// Revision 1.26 2002/06/02 22:22:04 makro
|
||||||
// Bug in the server browser
|
// Bug in the server browser
|
||||||
//
|
//
|
||||||
|
@ -6442,7 +6445,9 @@ static void UI_StartServerRefresh(qboolean full)
|
||||||
|
|
||||||
qtime_t q;
|
qtime_t q;
|
||||||
trap_RealTime(&q);
|
trap_RealTime(&q);
|
||||||
trap_Cvar_Set( va("ui_lastServerRefresh_%i", ui_netSource.integer), va("%s-%i, %i at %i:%i", MonthAbbrev[q.tm_mon],q.tm_mday, 1900+q.tm_year,q.tm_hour,q.tm_min));
|
//Makro - added leading zero's
|
||||||
|
//trap_Cvar_Set( va("ui_lastServerRefresh_%i", ui_netSource.integer), va("%s-%i, %i at %i:%i", MonthAbbrev[q.tm_mon],q.tm_mday, 1900+q.tm_year,q.tm_hour,q.tm_min));
|
||||||
|
trap_Cvar_Set( va("ui_lastServerRefresh_%i", ui_netSource.integer), va("%s-%i, %2d at %2d:%2d", MonthAbbrev[q.tm_mon],q.tm_mday, 1900+q.tm_year,q.tm_hour,q.tm_min));
|
||||||
|
|
||||||
if (!full) {
|
if (!full) {
|
||||||
UI_UpdatePendingPings();
|
UI_UpdatePendingPings();
|
||||||
|
|
Loading…
Reference in a new issue