Index: main.c =================================================================== RCS file: /cvsroot/joe-editor/joe-current/main/main.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- main.c 27 Oct 2008 01:57:13 -0000 1.5 +++ main.c 23 Nov 2008 21:32:15 -0000 1.6 @@ -431,7 +431,7 @@ b->orphan = 1; b->oldcur = pdup(b->bof, USTR "main"); pline(b->oldcur, get_file_pos(b->name)); - p_goto_bol(bw->cursor); + p_goto_bol(b->oldcur); line = b->oldcur->line - (maint->h - 1) / 2; if (line < 0) line = 0;