summaryrefslogtreecommitdiffstats
path: root/Examples/main/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/main/main.cpp')
-rw-r--r--Examples/main/main.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/Examples/main/main.cpp b/Examples/main/main.cpp
index 3126381..c3a659e 100644
--- a/Examples/main/main.cpp
+++ b/Examples/main/main.cpp
@@ -122,14 +122,17 @@ namespace
if( params.print_colors )
{
- printf( "[%s --> %s] ", to_timestamp( seg.time.begin ).c_str(), to_timestamp( seg.time.end ).c_str() );
+ printf( "[%s --> %s] %s ",
+ to_timestamp( seg.time.begin ).c_str(),
+ to_timestamp( seg.time.end ).c_str(),
+ speaker.c_str() );
for( uint32_t j = 0; j < seg.countTokens; j++ )
{
const sToken& tok = tokens[ seg.firstToken + j ];
if( !params.print_special && ( tok.flags & eTokenFlags::Special ) )
continue;
- wprintf( L"%S%S%s%S", speaker.c_str(), k_colors[ colorIndex( tok ) ], utf16( tok.text ).c_str(), "\033[0m" );
+ wprintf( L"%S%s%S", k_colors[ colorIndex( tok ) ], utf16( tok.text ).c_str(), "\033[0m" );
}
printf( "\n" );
}