diff --git a/plug-ins/script-fu/libscriptfu/tinyscheme/scheme.c b/plug-ins/script-fu/libscriptfu/tinyscheme/scheme.c index f9b991738e..5a3b68e82b 100644 --- a/plug-ins/script-fu/libscriptfu/tinyscheme/scheme.c +++ b/plug-ins/script-fu/libscriptfu/tinyscheme/scheme.c @@ -2664,7 +2664,8 @@ static pointer _Error_1(scheme *sc, const char *s, pointer a) { /* we started from 0 */ ln++; - snprintf(sbuf, STRBUFFSIZE, "(%s : %i) %s", fname, ln, s); + /* Err kind s is first, to have a stable prefix for testing. */ + snprintf(sbuf, STRBUFFSIZE, "%s (%s : %i) ", s, fname, ln); str = (const char*)sbuf; }