fix: use appropriate buffer flag

This commit is contained in:
huwwa 2026-05-01 16:23:29 +03:00 • committed by Charlie Gordon
commit 9502e20d52

View file

@ -2435,7 +2435,7 @@ static void shell_read_cb(void *opaque)
}
if (save_readonly) {
b->modified = 0;
b->flags |= save_readonly;
b->flags |= BF_READONLY;
}
/* now we do some refresh (should just invalidate?) */
@ -2527,7 +2527,7 @@ static void shell_pid_cb(void *opaque, int status)
if (save_readonly) {
s->b->modified = 0;
s->b->flags |= save_readonly;
s->b->flags |= BF_READONLY;
}
}