autoindent fixes from rob
This commit is contained in:
parent
ad6638adc7
commit
53998c99d6
2 changed files with 27 additions and 12 deletions
|
|
@ -76,11 +76,13 @@ wininit(Window *w, Window *clone, Rectangle r)
|
|||
draw(screen, br, button, nil, button->r.min);
|
||||
w->filemenu = TRUE;
|
||||
w->maxlines = w->body.fr.maxlines;
|
||||
w->autoindent = globalautoindent;
|
||||
//assert(w->body.w == w);
|
||||
if(clone){
|
||||
w->dirty = clone->dirty;
|
||||
textsetselect(&w->body, clone->body.q0, clone->body.q1);
|
||||
winsettag(w);
|
||||
w->autoindent = clone->autoindent;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue