- fix a copy-and-paste-o
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2007 22:14:45 +0000 (22:14 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2007 22:14:45 +0000 (22:14 +0000)
        * bindings/npruntime.cpp:
        (_NPN_GetIntIdentifier):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28368 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/bindings/npruntime.cpp

index dc38d8d5cc406758ee51eb176486dbc572fe1ee5..57263ef0feb0076ab253872f2b65488dd54f8509 100644 (file)
@@ -1,3 +1,10 @@
+2007-12-03  Dan Bernstein  <mitz@apple.com>
+
+        - fix a copy-and-paste-o
+
+        * bindings/npruntime.cpp:
+        (_NPN_GetIntIdentifier):
+
 2007-12-03  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Darin Adler.
 2007-12-03  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Darin Adler.
index d762ff1092b2181f943f175c44e39476db603df0..756eb13b1442b613c11aab3e54bdd7c7635bddcd 100644 (file)
@@ -105,7 +105,7 @@ NPIdentifier _NPN_GetIntIdentifier(int32_t intid)
         if (!identifier) {
             identifier = (PrivateIdentifier*)malloc(sizeof(PrivateIdentifier));
             identifier->isString = false;
         if (!identifier) {
             identifier = (PrivateIdentifier*)malloc(sizeof(PrivateIdentifier));
             identifier->isString = false;
-            identifier->isString = intid;
+            identifier->value.number = intid;
 
             negativeOneAndZeroIdentifiers[intid + 1] = identifier;
         }
 
             negativeOneAndZeroIdentifiers[intid + 1] = identifier;
         }