[Top][All Lists]

[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-1839-g328aca5
Date: Thu, 16 Jan 2014 17:49:48 +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  328aca5933edd54782538d6fd3f2755eee4359fc (commit)
      from  8c0fd7d7d6c4ea226a07267cc9efeae89cd5231b (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 328aca5933edd54782538d6fd3f2755eee4359fc
Author: Petter Reinholdtsen <address@hidden>
Date:   Thu Jan 16 18:49:34 2014 +0100

    Correct last commit 8c0fd7d7d6c4ea226a07267cc9efeae89cd5231b, correct
    prototype of NPN_GetProperty() by removing const from the field used
    to return the property value, and make sure the value is returned by
    the test function.

diff --git a/plugin/npapi/test.cpp b/plugin/npapi/test.cpp
index dcaaffa..3498157 100644
--- a/plugin/npapi/test.cpp
+++ b/plugin/npapi/test.cpp
@@ -434,12 +434,12 @@ NPN_SetProperty(NPP, NPObject*, NPIdentifier name,
 NPN_GetProperty(NPP, NPObject* , NPIdentifier name,
-                     const NPVariant *value)
+                     NPVariant *value)
     std::map<NPIdentifier, NPVariant *>::iterator it;
     it = _properties.find(name);
     if (it == _properties.end()) return false;
-    *value = it->second;
+    *value = *(it->second);
     return true;


Summary of changes:
 plugin/npapi/test.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


reply via email to

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