blob: 38efac2e30c48c543ec1cd73d1d1493c4a37b913 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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;
|