CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/11/01 23:30:48
Modified files: . : ChangeLog gui : Player.cpp Log message: * gui/Player.cpp (run): make the window at least 1x1 pixels sized in a collapsed SWF header situation. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4757&r2=1.4758 http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.68&r2=1.69 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4757 retrieving revision 1.4758 diff -u -b -r1.4757 -r1.4758 --- ChangeLog 1 Nov 2007 21:54:44 -0000 1.4757 +++ ChangeLog 1 Nov 2007 23:30:47 -0000 1.4758 @@ -1,5 +1,10 @@ 2007-11-01 Sandro Santilli <[EMAIL PROTECTED]> + * gui/Player.cpp (run): make the window at least 1x1 pixels sized + in a collapsed SWF header situation. + +2007-11-01 Sandro Santilli <[EMAIL PROTECTED]> + * server/character.{cpp,h}: remove the do_mouse_drag method. It's silly to call it for each sprite or button when at the end only a single character (if any) would Index: gui/Player.cpp =================================================================== RCS file: /sources/gnash/gnash/gui/Player.cpp,v retrieving revision 1.68 retrieving revision 1.69 diff -u -b -r1.68 -r1.69 --- gui/Player.cpp 30 Oct 2007 15:54:45 -0000 1.68 +++ gui/Player.cpp 1 Nov 2007 23:30:48 -0000 1.69 @@ -301,7 +301,9 @@ if ( ! width || ! height ) { //log_error(_("Input movie has collapsed dimensions " SIZET_FMT "/" SIZET_FMT ". Giving up."), width, height); - log_debug(_("Input movie has collapsed dimensions " SIZET_FMT "/" SIZET_FMT ". Continuing anyway."), width, height); + log_debug(_("Input movie has collapsed dimensions " SIZET_FMT "/" SIZET_FMT ". Setting to 1/1 and going on."), width, height); + if ( ! width ) width = 1; + if ( ! height ) height = 1; //return EXIT_FAILURE; } _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit