acme: correct modified message after initial load; more detail in
message http://codereview.appspot.com/123051
This commit is contained in:
parent
1961ee8223
commit
daea2c7d50
5 changed files with 29 additions and 14 deletions
|
|
@ -754,7 +754,8 @@ openfile(Text *t, Expand *e)
|
|||
w = makenewwindow(t);
|
||||
t = &w->body;
|
||||
winsetname(w, e->name, e->nname);
|
||||
textload(t, 0, e->bname, 1);
|
||||
if(textload(t, 0, e->bname, 1) >= 0)
|
||||
t->file->unread = FALSE;
|
||||
t->file->mod = FALSE;
|
||||
t->w->dirty = FALSE;
|
||||
winsettag(t->w);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue