[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-

From: Rob Savoye
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1610-gdc00572
Date: Sun, 24 Feb 2013 20:27:06 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  dc00572cc0c1bfa95a7896c36fca2c94ce931565 (commit)
      from  fa892e9ea0efe69a1ce36cb9a1f8a362741f45ef (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit dc00572cc0c1bfa95a7896c36fca2c94ce931565
Author: Paul Menzel <address@hidden>
Date:   Sun Feb 24 13:26:47 2013 -0700

    Make sure timer interval isn't 0 to avoid divide by zero errors.

diff --git a/gui/gtk/gtk.cpp b/gui/gtk/gtk.cpp
index da45af7..bd9bda0 100644
--- a/gui/gtk/gtk.cpp
+++ b/gui/gtk/gtk.cpp
@@ -597,7 +597,7 @@ GtkGui::startAdvanceTimer()
             (GSourceFunc)advance_movie, this, NULL);
     log_debug(_("Advance interval timer set to %d ms (~ %d FPS)"),
-            _interval, 1000/_interval);
+            _interval, _interval ? 1000 : 1000/_interval);


Summary of changes:
 gui/gtk/gtk.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]