mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
*Massive cleanup redux.
--HG-- branch : trunk
This commit is contained in:
@@ -46,7 +46,7 @@ barGoLink::barGoLink( int row_count )
|
||||
#else
|
||||
printf( "[" );
|
||||
#endif
|
||||
for ( int i = 0; i < indic_len; i++ ) printf( empty );
|
||||
for (int i = 0; i < indic_len; i++ ) printf( empty );
|
||||
#ifdef _WIN32
|
||||
printf( "\x3D 0%%\r\x3D" );
|
||||
#else
|
||||
@@ -69,8 +69,8 @@ void barGoLink::step( void )
|
||||
#else
|
||||
printf( "\r[" );
|
||||
#endif
|
||||
for ( i = 0; i < n; i++ ) printf( full );
|
||||
for ( ; i < indic_len; i++ ) printf( empty );
|
||||
for (i = 0; i < n; i++ ) printf( full );
|
||||
for (; i < indic_len; i++ ) printf( empty );
|
||||
float percent = (((float)n/(float)indic_len)*100);
|
||||
#ifdef _WIN32
|
||||
printf( "\x3D %i%% \r\x3D", (int)percent);
|
||||
|
||||
Reference in New Issue
Block a user