aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw/devdraw.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-07-05 22:27:26 +0000
committerrsc <devnull@localhost>2006-07-05 22:27:26 +0000
commit2bdefab1da7bc64f433cba5871fc57d5524a06e1 (patch)
tree87c467d9f54195c54d339894d1d596bf48bdadad /src/cmd/devdraw/devdraw.c
parente50b313e64aedca5b2640b92d31bdf9bfccd4b53 (diff)
downloadplan9port-2bdefab1da7bc64f433cba5871fc57d5524a06e1.tar.gz
plan9port-2bdefab1da7bc64f433cba5871fc57d5524a06e1.tar.bz2
plan9port-2bdefab1da7bc64f433cba5871fc57d5524a06e1.zip
Fix resize error under KDE (Bart Locanthi)
Diffstat (limited to 'src/cmd/devdraw/devdraw.c')
-rw-r--r--src/cmd/devdraw/devdraw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/devdraw/devdraw.c b/src/cmd/devdraw/devdraw.c
index 6b6dca6e..0e2226cd 100644
--- a/src/cmd/devdraw/devdraw.c
+++ b/src/cmd/devdraw/devdraw.c
@@ -275,7 +275,7 @@ dstflush(int dstid, Memimage *dst, Rectangle r)
}
/* how can this happen? -rsc, dec 12 2002 */
if(dst == 0){
- print("nil dstflush\n");
+ fprint(2, "nil dstflush\n");
return;
}
l = dst->layer;
@@ -430,7 +430,7 @@ drawinstallscreen(Client *client, DScreen *d, int id, DImage *dimage, DImage *df
c = mallocz(sizeof(CScreen), 1);
if(dimage && dimage->image && dimage->image->chan == 0){
- print("bad image %p in drawinstallscreen", dimage->image);
+ fprint(2, "bad image %p in drawinstallscreen", dimage->image);
abort();
}
@@ -494,7 +494,7 @@ drawfreedscreen(DScreen *this)
this->ref--;
if(this->ref < 0)
- print("negative ref in drawfreedscreen\n");
+ fprint(2, "negative ref in drawfreedscreen\n");
if(this->ref > 0)
return;
ds = dscreen;
@@ -533,7 +533,7 @@ drawfreedimage(DImage *dimage)
dimage->ref--;
if(dimage->ref < 0)
- print("negative ref in drawfreedimage\n");
+ fprint(2, "negative ref in drawfreedimage\n");
if(dimage->ref > 0)
return;