diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2010-06-19 02:03:19 +0200 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2010-06-19 02:03:19 +0200 |
commit | a5f3edc89393f869bfc6cbcadff5b727562df88a (patch) | |
tree | 197d08cafbd8b9e74a44ce5c75ee5547bf284b54 /tools.cpp | |
parent | cd2959a44a006e9e2d814995c6b7aff7e6229a0b (diff) | |
download | vdr-plugin-live-a5f3edc89393f869bfc6cbcadff5b727562df88a.tar.gz vdr-plugin-live-a5f3edc89393f869bfc6cbcadff5b727562df88a.tar.bz2 |
Added translators hint and a german locale for the date/time formating of recordings provided by Dominic Evans.
Diffstat (limited to 'tools.cpp')
-rw-r--r-- | tools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |