I found a bug in the file tuxplayer.cc lines 367 and 387.
After the call to gtk_widget_destroy() the pointer `name' is not valid
anymore. If this worked on the development plateform it's pure
fortune, and on my side I get random characters in the status bar.
See the patch in attachement.

--
Nicolas Baradakis
Index: tuxplayer.cc
===================================================================
RCS file: /cvs/linuxtv/DVB/apps/tuxzap/src/tuxplayer.cc,v
retrieving revision 1.13
diff -u -r1.13 tuxplayer.cc
--- tuxplayer.cc        17 Dec 2002 19:40:20 -0000      1.13
+++ tuxplayer.cc        9 Jan 2003 12:50:42 -0000
@@ -364,7 +365,8 @@
                 gtk_widget_destroy(GTK_WIDGET(fs));
                 sfileset = TRUE;
 
-               str << "Save file: " << name << ends;
+               str << "Save file: " << savefile << ends;
                status_message(buf);
 
         }
@@ -384,7 +386,8 @@
                 gtk_widget_destroy(GTK_WIDGET(fs));
                 pfileset = TRUE;
 
-               str << "Play file: " << name << ends;
+               str << "Play file: " << playfile << ends;
                status_message(buf);
 
         }


Reply via email to