From 4c0d3398fc6444169ee47935b9ab814eb3929e72 Mon Sep 17 00:00:00 2001 From: Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> Date: Sun, 18 Feb 2007 22:22:35 +0000 Subject: - Added status box with current channel, program and elapsed time in the logo area. - Added support for progress bars to display elapsed content. - Extendend ajax.js to be usable for non xml requests. - adapted styles for the new features. --- tools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools.cpp') diff --git a/tools.cpp b/tools.cpp index 1cdd447..677ce02 100644 --- a/tools.cpp +++ b/tools.cpp @@ -10,7 +10,7 @@ using namespace std; using namespace tnt; - + istream& operator>>( istream& is, tChannelID& ret ) { if ( is.rdbuf()->in_avail() > 0 ) { @@ -31,7 +31,7 @@ string FormatDateTime( char const* format, time_t time ) builder << "cannot represent timestamp " << time << " as local time"; throw runtime_error( builder.str() ); } - + char result[ 256 ]; if ( strftime( result, sizeof( result ), format, &tm_r ) == 0 ) { ostringstream builder; -- cgit v1.2.3