silly sun

This commit is contained in:
Russ Cox
2006-05-24 15:24:14 +00:00
parent 083b5a0e40
commit 964d0bdc57
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ memunload(Memimage *src, Rectangle r, uchar *data, int n)
* src is an obscured layer or data is unaligned
*/
if(dl->save && dx==0){
if(dl->refreshfn != nil)
if(dl->refreshfn != 0)
return -1; /* can't unload window if it's not Refbackup */
if(n > 0)
memlhide(src, r);