summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-08-04 08:43:30 (GMT)
committer Daniel Silverstone <dsilvers@digital-scurf.org>2015-08-04 08:43:30 (GMT)
commitb37440dc20efd2501713c467fa5b41bf752c9a00 (patch)
tree35f35bfa0157ec3308eb248d338998ce3a111d43
parent6862f9c5c94bf8f668227f4bce200006ff2c7d17 (diff)
downloadnsgenbind-dsilvers/interfacemap.tar.gz
nsgenbind-dsilvers/interfacemap.tar.bz2
Vince is right, -3 is better than -4dsilvers/interfacemap
-rw-r--r--src/duk-libdom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/duk-libdom.c b/src/duk-libdom.c
index 2361448..bf274b7 100644
--- a/src/duk-libdom.c
+++ b/src/duk-libdom.c
@@ -221,7 +221,7 @@ output_populate_ro_property(FILE* outf, const char *class_name, const char *prop
"\tduk_push_c_function(ctx, %s_%s_%s_getter, 0);\n",
DLPFX, class_name, property);
fprintf(outf,
- "\tduk_def_prop(ctx, -4, DUK_DEFPROP_HAVE_GETTER |\n");
+ "\tduk_def_prop(ctx, -3, DUK_DEFPROP_HAVE_GETTER |\n");
fprintf(outf, "\t DUK_DEFPROP_HAVE_ENUMERABLE | DUK_DEFPROP_ENUMERABLE |\n");
fprintf(outf, "\t DUK_DEFPROP_HAVE_CONFIGURABLE);\n");
fprintf(outf, "\tduk_pop(ctx);\n\n");