gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server movie_root.h


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server movie_root.h
Date: Mon, 23 Oct 2006 16:02:31 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/10/23 16:02:30

Modified files:
        server         : movie_root.h 

Log message:
        cleaned up isMouseOverActiveEntity()

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- movie_root.h        23 Oct 2006 15:59:37 -0000      1.19
+++ movie_root.h        23 Oct 2006 16:02:30 -0000      1.20
@@ -35,7 +35,7 @@
 // 
 //
 
-/* $Id: movie_root.h,v 1.19 2006/10/23 15:59:37 strk Exp $ */
+/* $Id: movie_root.h,v 1.20 2006/10/23 16:02:30 strk Exp $ */
 
 #ifndef GNASH_MOVIE_ROOT_H
 #define GNASH_MOVIE_ROOT_H
@@ -304,13 +304,9 @@
        // reimplemented from movie_interface, see dox there
        bool isMouseOverActiveEntity() const
        {
-               GNASH_REPORT_FUNCTION;
-               bool ret = m_mouse_button_state.m_active_entity != NULL;
-               if ( ! ret ) {
-                       log_msg("Active entity is null!");
-               }
-               return ret;
+               return (m_mouse_button_state.m_active_entity != NULL);
        }
+
 private:
 
        /// This function should return TRUE iff any action triggered




reply via email to

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