reverse order of Jim stack trace output

The stack traces makes much more sense this way.

Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
Andreas Fritiofson 2010-06-18 01:33:22 +02:00 committed by Øyvind Harboe
parent 127f9da4fe
commit 3f9d377ce7
1 changed files with 1 additions and 1 deletions

View File

@ -12291,7 +12291,7 @@ void Jim_PrintErrorMessage(Jim_Interp *interp)
Jim_fprintf(interp,interp->cookie_stderr, "%s" JIM_NL,
Jim_GetString(interp->result, NULL));
Jim_ListLength(interp, interp->stackTrace, &len);
for (i = len-3; i >= 0; i-= 3) {
for (i = 0; i < len; i += 3) {
Jim_Obj *objPtr=NULL;
const char *proc, *file, *line;