Commit de341d2f authored by Olivier Teulière's avatar Olivier Teulière

* skins2/vars/time.cpp: do not print leading spaces in the short time format

parent e2cc1fab
......@@ -126,7 +126,7 @@ const string StreamTime::formatTime( int seconds, bool bShortFormat ) const
char *psz_time = new char[MSTRTIME_MAX_SIZE];
if( bShortFormat && (seconds < 60 * 60) )
{
snprintf( psz_time, MSTRTIME_MAX_SIZE, " %02d:%02d",
snprintf( psz_time, MSTRTIME_MAX_SIZE, "%02d:%02d",
(int) (seconds / 60 % 60),
(int) (seconds % 60) );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment