fix typo - chyvonomys fix works properly now; vb01

This commit is contained in:
Iris Lightshard 2022-03-28 11:14:11 -06:00
parent e7e3183672
commit cbccd0292d
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
3 changed files with 3 additions and 5 deletions

4
acme.c
View file

@ -43,7 +43,7 @@ Rune snarfrune[NSnarf + 1];
char* fontnames[2] = {PRIMARY_FONT, SECONDARY_FONT}; char* fontnames[2] = {PRIMARY_FONT, SECONDARY_FONT};
char version[] = "acme9k v9001-a05"; char version[] = "acme9k v9001-b01";
Command* command; Command* command;
@ -57,8 +57,6 @@ void derror(Display* d, char* errorstr) {
error(errorstr); error(errorstr);
} }
// we need to share this btw mainthread and mousethread
void threadmain(int argc, char* argv[]) { void threadmain(int argc, char* argv[]) {
int i; int i;
char *p, *loadfile; char *p, *loadfile;

2
cols.c
View file

@ -431,7 +431,7 @@ Pack:
if (nl[j]) if (nl[j])
r.max.y += 1 + nl[j] * v->body.fr.font->height; r.max.y += 1 + nl[j] * v->body.fr.font->height;
r.min.y = winresize(v, r, c->safe, FALSE); r.min.y = winresize(v, r, c->safe, FALSE);
r.max.y += r.min.y + Border; r.max.y = r.min.y + Border;
draw( draw(
screen, screen,
r, r,

2
wind.c
View file

@ -574,7 +574,7 @@ void wincommit(Window* w, Text* t) {
for (i = 0; i < f->ntext; i++) for (i = 0; i < f->ntext; i++)
textcommit(f->text[i], FALSE); /* no-op for t */ textcommit(f->text[i], FALSE); /* no-op for t */
if (t->what == Body) { if (t->what == Body) {
winresize(w, w->r, TRUE, TRUE); /* winresize(w, w->r, TRUE, TRUE); */
return; return;
} }
r = parsetag(w, 0, &i); r = parsetag(w, 0, &i);