]> git.lizzy.rs Git - plan9front.git/commit
mothra: fix a few errors in previous patch
authorqwx <devnull@localhost>
Sun, 26 Apr 2020 17:43:10 +0000 (19:43 +0200)
committerqwx <devnull@localhost>
Sun, 26 Apr 2020 17:43:10 +0000 (19:43 +0200)
commit0fc1abc73d813280fbd8e7119391a8c5c3d36b7c
tree8dcad5544e2c3289a0a57613ead4df9a8dda38e2
parentc6f7989176b9da3b977f397ac4f20bc2f86dec1b
mothra: fix a few errors in previous patch

- nil check pl_blue allocation, and don't do it every time pl_rtdraw is called
- fix re-adding previously removed flushimage calls
- correct format for pointer
- sysfatal in pl_drawinit on error
sys/src/cmd/mothra/libpanel/draw.c
sys/src/cmd/mothra/libpanel/event.c
sys/src/cmd/mothra/libpanel/panel.h
sys/src/cmd/mothra/libpanel/popup.c
sys/src/cmd/mothra/libpanel/rtext.c
sys/src/cmd/mothra/libpanel/textwin.c