1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Generalise the error message from smjs_do_file by dropping 'default'

from 'error loading default script file'.
This commit is contained in:
Miciah Dashiel Butler Masters 2005-12-29 13:54:26 +00:00 committed by Miciah Dashiel Butler Masters
parent b52a29f8c0
commit a4be153703

View File

@ -81,7 +81,7 @@ smjs_do_file(unsigned char *path)
|| JS_FALSE == JS_EvaluateScript(smjs_ctx,
JS_GetGlobalObject(smjs_ctx),
script.source, script.length, path, 1, &rval)) {
alert_smjs_error("error loading default script file");
alert_smjs_error("error loading script file");
ret = 0;
}