summaryrefslogtreecommitdiff
path: root/javascript/duktape/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/duktape/text.c')
-rw-r--r--javascript/duktape/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/duktape/text.c b/javascript/duktape/text.c
index 7669bae11..26457749d 100644
--- a/javascript/duktape/text.c
+++ b/javascript/duktape/text.c
@@ -41,7 +41,7 @@ DUKKY_FUNC(text, __proto)
/* Populate text's prototypical functionality */
/* Set this prototype's prototype (left-parent)*/
- DUKKY_GET_PROTOTYPE(character_data);
+ DUKKY_GET_PROTOTYPE(CHARACTERDATA);
duk_set_prototype(ctx, 0);
/* And the initialiser/finalizer */
DUKKY_SET_DESTRUCTOR(0, text);