]> git.sesse.net Git - vlc/commitdiff
* modules/gui/*: use MSTRTIME_MAX_SIZE instead of OFFSETTOTIME_MAX_SIZE.
authorGildas Bazin <gbazin@videolan.org>
Thu, 4 Dec 2003 10:25:47 +0000 (10:25 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 4 Dec 2003 10:25:47 +0000 (10:25 +0000)
modules/gui/beos/VlcWrapper.cpp
modules/gui/kde/interface.cpp
modules/gui/pda/pda.c
modules/gui/qt/intf.cpp
modules/gui/wxwindows/interface.cpp

index bcfb212cfba18102fff4c5e16c9f279e6f9fa7ac..191048aed01202a70986383029c5a1d5b50f613b 100644 (file)
@@ -2,7 +2,7 @@
  * VlcWrapper.cpp: BeOS plugin for vlc (derived from MacOS X port)
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: VlcWrapper.cpp,v 1.39 2003/11/24 00:39:01 fenrir Exp $
+ * $Id: VlcWrapper.cpp,v 1.40 2003/12/04 10:25:47 gbazin Exp $
  *
  * Authors: Florian G. Pflug <fgp@phlo.org>
  *          Jon Lech Johansen <jon-vl@nanocrew.net>
@@ -270,7 +270,7 @@ void VlcWrapper::ToggleSubtitle( int i_subtitle )
 
 const char * VlcWrapper::GetTimeAsString()
 {
-    static char psz_time[ OFFSETTOTIME_MAX_SIZE ];
+    static char psz_time[ MSTRTIME_MAX_SIZE ];
         
     if( !p_input )
     {
index 27a303acffe835e0314f8ad8d687d7dc66a90f30..9ee0a8719f9e72642f3d00431ea076f2580b05ac 100644 (file)
@@ -502,7 +502,7 @@ void KInterface::slotSliderChanged( int position )
 {
     if( p_intf->p_sys->p_input != NULL )
     {
-        char psz_time[ OFFSETTOTIME_MAX_SIZE ];
+        char psz_time[ MSTRTIME_MAX_SIZE ];
 
         vlc_mutex_lock( &p_intf->p_sys->p_input->stream.stream_lock );
 
index 8aad9517cd29b737d57794ecec75d8f3ffae826c..3a659dfa345f5c32e1d0d84a106e653648c8faa8 100644 (file)
@@ -2,7 +2,7 @@
  * pda.c : PDA Gtk2 plugin for vlc
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: pda.c,v 1.15 2003/12/03 20:47:06 jpsaman Exp $
+ * $Id: pda.c,v 1.16 2003/12/04 10:25:47 gbazin Exp $
  *
  * Authors: Jean-Paul Saman <jpsaman@wxs.nl>
  *          Marc Ariberti <marcari@videolan.org>
@@ -564,7 +564,7 @@ void E_(GtkDisplayDate)( GtkAdjustment *p_adj )
     if( p_intf->p_sys->p_input )
     {
 #define p_area p_intf->p_sys->p_input->stream.p_selected_area
-        char psz_time[ OFFSETTOTIME_MAX_SIZE ];
+        char psz_time[ MSTRTIME_MAX_SIZE ];
 
         gtk_label_set_text( GTK_LABEL( p_intf->p_sys->p_slider_label ),
                         input_OffsetToTime( p_intf->p_sys->p_input, psz_time,
index 8a338ad3402c37d08655183fc737d2284a05e6b3..8e5cb04eb8cc0bc3e4be8d52ca3474fd740b44a3 100644 (file)
@@ -2,7 +2,7 @@
  * intf.cpp: Qt interface
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: intf.cpp,v 1.4 2003/07/23 01:13:47 gbazin Exp $
+ * $Id: intf.cpp,v 1.5 2003/12/04 10:25:47 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -264,7 +264,7 @@ void IntfWindow::DateDisplay( int i_range )
 {
     if( p_intf->p_sys->p_input )
     {
-        char psz_time[ OFFSETTOTIME_MAX_SIZE ];
+        char psz_time[ MSTRTIME_MAX_SIZE ];
 
         vlc_mutex_lock( &p_intf->p_sys->p_input->stream.stream_lock );
         p_date->setText( input_OffsetToTime( p_intf->p_sys->p_input, psz_time,
index 78b91d98500b34a71ddadbe570b94e8036acc017..91973176e752a8948abc9cb5822f92798899f270 100644 (file)
@@ -2,7 +2,7 @@
  * interface.cpp : wxWindows plugin for vlc
  *****************************************************************************
  * Copyright (C) 2000-2001, 2003 VideoLAN
- * $Id: interface.cpp,v 1.75 2003/12/03 13:41:49 rocky Exp $
+ * $Id: interface.cpp,v 1.76 2003/12/04 10:25:47 gbazin Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -1167,7 +1167,7 @@ void Interface::OnSliderUpdate( wxScrollEvent& event )
         {
             /* Update stream date */
 #define p_area p_intf->p_sys->p_input->stream.p_selected_area
-            char psz_time[ OFFSETTOTIME_MAX_SIZE ];
+            char psz_time[ MSTRTIME_MAX_SIZE ];
 
             slider_box->SetLabel(
                 wxU(input_OffsetToTime( p_intf->p_sys->p_input,