diff --git a/ChangeLog b/ChangeLog index 498857f700..6cf88e126e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-11 Kevin Cozens + + * plug-ins/script-fu/tinyscheme/scheme.c: Don't abort the top-level + s-exp when loading a file. See SourceForge bug #1589711. + 2007-12-11 Kevin Cozens * plug-ins/script-fu/tinyscheme/scheme.c: Applied changes from diff --git a/plug-ins/script-fu/tinyscheme/scheme.c b/plug-ins/script-fu/tinyscheme/scheme.c index c987bed5ac..17ed7f22b0 100644 --- a/plug-ins/script-fu/tinyscheme/scheme.c +++ b/plug-ins/script-fu/tinyscheme/scheme.c @@ -2476,7 +2476,8 @@ static pointer opexe_0(scheme *sc, enum scheme_opcodes op) { if (!file_push(sc,strvalue(car(sc->args)))) { Error_1(sc,"unable to open", car(sc->args)); } - s_goto(sc,OP_T0LVL); + else + { s_retbool(1); } case OP_T0LVL: /* top level */ if(file_interactive(sc)) {