fixed issue reported by ality

This commit is contained in:
Anselm R. Garbe 2006-03-01 12:20:08 +01:00
parent d7af7846f5
commit 4c9fe5addc

View File

@ -368,7 +368,7 @@ void
attach_client(Client *c)
{
Page *p;
if(!page)
if(!npage)
p = alloc_page();
else
p = page[sel];