update drwl
This commit is contained in:
parent
7a07b728c4
commit
02c3ac09a6
4 changed files with 38 additions and 77 deletions
5
mew.c
5
mew.c
|
@ -272,10 +272,11 @@ drawmenu(void)
|
|||
{
|
||||
unsigned int curpos;
|
||||
struct item *item;
|
||||
int x = 0, y = 0, w;
|
||||
int x = 0, y = 0, w, stride;
|
||||
PoolBuf *buf;
|
||||
|
||||
if (!(buf = poolbuf_create(shm, mw, mh, 0)))
|
||||
stride = drwl_stride(mw);
|
||||
if (!(buf = poolbuf_create(shm, mw, mh, stride, 0)))
|
||||
die("poolbuf_create:");
|
||||
|
||||
drwl_prepare_drawing(drw, mw, mh, buf->data, buf->stride);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue