From a5f3edc89393f869bfc6cbcadff5b727562df88a Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sat, 19 Jun 2010 02:03:19 +0200 Subject: Added translators hint and a german locale for the date/time formating of recordings provided by Dominic Evans. --- tools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools.cpp') diff --git a/tools.cpp b/tools.cpp index 8b6006e..bda91f0 100644 --- a/tools.cpp +++ b/tools.cpp @@ -19,7 +19,7 @@ istream& operator>>( istream& is, tChannelID& ret ) { /* alternativ implementation string line; - if ( !getline( is, line ) ) { + if ( !getline( is, line ) ) { if ( !is.eof() ) is.setstate( ios::badbit ); else @@ -42,7 +42,7 @@ istream& operator>>( istream& is, tChannelID& ret ) return is; } } - + if ( !line.empty() && !( ret = tChannelID::FromString( line.c_str() ) ).Valid() ) is.setstate( ios::badbit ); return is; -- cgit v1.2.3