gnash-commit
[Top][All Lists]
Advanced

[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: Petter Reinholdtsen
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2027-g5771dd8
Date: Tue, 20 May 2014 17:07:24 +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  5771dd8f3e418308bed81ac65914fb73d8851e52 (commit)
      from  9b1676996d680ef788a37dfd73007253ff87bd2f (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=5771dd8f3e418308bed81ac65914fb73d8851e52


commit 5771dd8f3e418308bed81ac65914fb73d8851e52
Author: Petter Reinholdtsen <address@hidden>
Date:   Tue May 20 18:38:00 2014 +0200

    Initialize DragState members _xoffset and _yoffset to zero.
    
    Make sure they always have well known values.
    
    Fixes Coverity CID 1149274.

diff --git a/libcore/DragState.h b/libcore/DragState.h
index 7bdc870..251f74d 100644
--- a/libcore/DragState.h
+++ b/libcore/DragState.h
@@ -39,7 +39,9 @@ public:
     DragState(DisplayObject* d, bool lock)
         :
         _displayObject(d),
-        _lock_centered(lock)
+        _lock_centered(lock),
+        _xoffset(0),
+        _yoffset(0)
     {
     }
 

-----------------------------------------------------------------------

Summary of changes:
 libcore/DragState.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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