aboutsummaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-02-25 10:21:02 +0000
committerrodri <rgl@antares-labs.eu>2023-02-25 10:21:02 +0000
commit8975899ac8a3589d0d42f96dc4b7aa6ced8ee720 (patch)
tree23148443d5c45a36554ebe65dda0efc2cd0bc02a /alloc.c
parent0f75049222798e1bfee7c5bff80bee6a0b7fdd2c (diff)
downloadmusw-8975899ac8a3589d0d42f96dc4b7aa6ced8ee720.tar.gz
musw-8975899ac8a3589d0d42f96dc4b7aa6ced8ee720.tar.bz2
musw-8975899ac8a3589d0d42f96dc4b7aa6ced8ee720.zip
implemented optional ghosting for the clients.
Diffstat (limited to 'alloc.c')
-rw-r--r--alloc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/alloc.c b/alloc.c
index 037d726..2589e89 100644
--- a/alloc.c
+++ b/alloc.c
@@ -32,13 +32,13 @@ erealloc(void *p, ulong n)
return np;
}
-//Image*
-//eallocimage(Display *d, Rectangle r, ulong chan, int repl, ulong col)
-//{
-// Image *i;
-//
-// i = allocimage(d, r, chan, repl, col);
-// if(i == nil)
-// sysfatal("allocimage: %r");
-// return i;
-//}
+Image*
+eallocimage(Display *d, Rectangle r, ulong chan, int repl, ulong col)
+{
+ Image *i;
+
+ i = allocimage(d, r, chan, repl, col);
+ if(i == nil)
+ sysfatal("allocimage: %r");
+ return i;
+}