From 8ef8e3784e0f92cd7d89585c2560dd382b7e8432 Mon Sep 17 00:00:00 2001 From: "mitz@apple.com" Date: Mon, 3 Dec 2007 22:14:45 +0000 Subject: [PATCH] - fix a copy-and-paste-o * bindings/npruntime.cpp: (_NPN_GetIntIdentifier): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28368 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- JavaScriptCore/ChangeLog | 7 +++++++ JavaScriptCore/bindings/npruntime.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog index dc38d8d5cc40..57263ef0feb0 100644 --- a/JavaScriptCore/ChangeLog +++ b/JavaScriptCore/ChangeLog @@ -1,3 +1,10 @@ +2007-12-03 Dan Bernstein + + - fix a copy-and-paste-o + + * bindings/npruntime.cpp: + (_NPN_GetIntIdentifier): + 2007-12-03 Dan Bernstein Reviewed by Darin Adler. diff --git a/JavaScriptCore/bindings/npruntime.cpp b/JavaScriptCore/bindings/npruntime.cpp index d762ff1092b2..756eb13b1442 100644 --- a/JavaScriptCore/bindings/npruntime.cpp +++ b/JavaScriptCore/bindings/npruntime.cpp @@ -105,7 +105,7 @@ NPIdentifier _NPN_GetIntIdentifier(int32_t intid) if (!identifier) { identifier = (PrivateIdentifier*)malloc(sizeof(PrivateIdentifier)); identifier->isString = false; - identifier->isString = intid; + identifier->value.number = intid; negativeOneAndZeroIdentifiers[intid + 1] = identifier; } -- 2.36.0