gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog plugin/plugin.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash ChangeLog plugin/plugin.cpp
Date: Mon, 24 Mar 2008 00:37:57 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  08/03/24 00:37:57

Modified files:
        .              : ChangeLog 
        plugin         : plugin.cpp 

Log message:
        declared char* as const char*.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6015&r2=1.6016
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.100&r2=1.101

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6015
retrieving revision 1.6016
diff -u -b -r1.6015 -r1.6016
--- ChangeLog   24 Mar 2008 00:11:35 -0000      1.6015
+++ ChangeLog   24 Mar 2008 00:37:56 -0000      1.6016
@@ -5,7 +5,8 @@
        * server/debugger.h, libbase/log.h: Added DSOEXPORT to definations.
        * testsuite/samples/Make.am: Added FFMPEG_CFLAGS.
        * libbase/memory.cpp: return true when function returns.
-       * libbase/sharedlib.cpp: declared char* as const char*.
+       * libbase/sharedlib.cpp, plugins/plugin.cpp: declared char* as 
+         const char*.
 
 2008-03-22  Dossy Shiobara <address@hidden>
 

Index: plugin/plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -b -r1.100 -r1.101
--- plugin/plugin.cpp   5 Mar 2008 03:55:57 -0000       1.100
+++ plugin/plugin.cpp   24 Mar 2008 00:37:57 -0000      1.101
@@ -217,7 +217,7 @@
        switch (aVariable)
        {
                case NPPVpluginNameString:
-                       *static_cast<char **> (aValue) = PLUGIN_NAME;
+                       *static_cast<const char **> (aValue) = PLUGIN_NAME;
                        break;
 
                // This becomes the description field you see below the opening
@@ -657,7 +657,7 @@
 {
        string procname;
        char *gnash_env = getenv("GNASH_PLAYER");
-       if (!gnash_env) {
+       if (gnash_env == NULL) {
                procname = GNASHBINDIR;
                procname += "/gtk-gnash";
        }




reply via email to

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