[Top][All Lists]

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

[Gnash-commit] [SCM] Gnash branch, master, updated. 4f7cb1c40eeeb0080c26

From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 4f7cb1c40eeeb0080c261300c2ceb5b9c107a728
Date: Thu, 11 Nov 2010 14:20:03 +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  4f7cb1c40eeeb0080c261300c2ceb5b9c107a728 (commit)
      from  e84506bdc0c1276f0ef584f7e6afd99d32bfc07a (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 4f7cb1c40eeeb0080c261300c2ceb5b9c107a728
Author: Sandro Santilli <address@hidden>
Date:   Thu Nov 11 15:19:57 2010 +0100

    Fix call to clamp (value-to-clamp must be given first)

diff --git a/gui/gnash.cpp b/gui/gnash.cpp
index e3a49f6..55e8b1a 100644
--- a/gui/gnash.cpp
+++ b/gui/gnash.cpp
@@ -342,7 +342,7 @@ getSupportedOptions(gnash::Player& p)
     ("scale,s", po::value<float>()
         ->notifier(boost::bind(&Player::setScale, &p,
-                boost::bind(gnash::clamp<float>, 0.01f, 100.f, _1))),
+                boost::bind(gnash::clamp<float>, _1, 0.01f, 100.f))),
         _("Scale the movie by the specified factor"))
     ("delay,d", po::value<int>()


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


reply via email to

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