gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/plugin plugin.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash/plugin plugin.cpp
Date: Sat, 21 Oct 2006 15:37:36 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  06/10/21 15:37:36

Modified files:
        plugin         : plugin.cpp 

Log message:
        Replaced log_msg with cout.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.69&r2=1.70

Patches:
Index: plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -b -r1.69 -r1.70
--- plugin.cpp  21 Oct 2006 14:44:18 -0000      1.69
+++ plugin.cpp  21 Oct 2006 15:37:36 -0000      1.70
@@ -35,7 +35,7 @@
 // 
 //
 
-/* $Id: plugin.cpp,v 1.69 2006/10/21 14:44:18 nihilus Exp $ */
+/* $Id: plugin.cpp,v 1.70 2006/10/21 15:37:36 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -253,7 +253,9 @@
                if (data->argv[i]) {
                        val = data->argv[i];
                }
-               //log_msg("PARAM: %s = %s", name.c_str(), val.c_str());
+#if 0
+               cout <<  "PARAM: " << name << " = " <<  val << endl;
+#endif
                _params[name] = val;
        }
 }
@@ -330,13 +332,16 @@
     if(!aWindow) {
        cout << __FUNCTION__ << ": ERROR: Window handle was bogus!" << endl;
         return NPERR_INVALID_PARAM;
-#if 0
+
     } else {
-       log_msg("%s: X origin = %d, Y Origin = %d, Width = %d,"
-              " Height = %d, WindowID = %p, this = %p",
-              __FUNCTION__,
-              aWindow->x, aWindow->y, aWindow->width, aWindow->height,
-              aWindow->window, this);
+#if 0
+       cout << __FUNCTION__ << "; "
+       << "X origin: = " << aWindow->x 
+       << ", Y Origin = " << aWindow->y
+       << ", Width = " << aWindow->width
+       << ", Height = " << aWindow->height
+       << ", WindowID = " << aWindow->window
+       << ", this = " << static_cast<void*>(this) << endl;
 #endif
     }
 




reply via email to

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