diff options
author | dos-reis <gdr@axiomatics.org> | 2013-04-01 00:49:23 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2013-04-01 00:49:23 +0000 |
commit | 86c534a99a9eda6be04595e2fecc433e51ddaed2 (patch) | |
tree | b9931d602f93f875ed2669ab78b0970dc27aa3e4 /src/graph/view2D/control2d.c | |
parent | 664e27a1d8f4927285e8c4f89870796c9d9f518e (diff) | |
download | open-axiom-86c534a99a9eda6be04595e2fecc433e51ddaed2.tar.gz |
More C cleanups
Diffstat (limited to 'src/graph/view2D/control2d.c')
-rw-r--r-- | src/graph/view2D/control2d.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/graph/view2D/control2d.c b/src/graph/view2D/control2d.c index ea79102d..051184c4 100644 --- a/src/graph/view2D/control2d.c +++ b/src/graph/view2D/control2d.c @@ -450,9 +450,11 @@ makeControlPanel(void) cXY = getControlXY(0); /* Define and assign a mouse cursor. */ - mousebits = XCreateBitmapFromData(dsply,rtWindow,mouseBitmap_bits, + mousebits = XCreateBitmapFromData(dsply,rtWindow, + (const char*) mouseBitmap_bits, mouseBitmap_width,mouseBitmap_height); - mousemask = XCreateBitmapFromData(dsply,rtWindow,mouseMask_bits, + mousemask = XCreateBitmapFromData(dsply,rtWindow, + (const char*) mouseMask_bits, mouseMask_width,mouseMask_height); cwAttrib.background_pixel = backgroundColor; /* controlBackground; */ cwAttrib.border_pixel = foregroundColor; |