diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-02-02 13:00:25 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-02-02 13:00:25 +0100 |
commit | e178b08549bd0bf3e2a8d235518a60ea05681962 (patch) | |
tree | 58091e888e7712a659f21e04258c6a49eca22442 /src/gwin/console.c | |
parent | 3c99e6e67dfa9833e25ebd417ccbd45a2d4493f6 (diff) | |
parent | 6515373b2a63a24b77ff20a26e9b18468f29a6f9 (diff) | |
download | uGFX-e178b08549bd0bf3e2a8d235518a60ea05681962.tar.gz uGFX-e178b08549bd0bf3e2a8d235518a60ea05681962.tar.bz2 uGFX-e178b08549bd0bf3e2a8d235518a60ea05681962.zip |
Merge branch 'master' into gwin
Diffstat (limited to 'src/gwin/console.c')
-rw-r--r-- | src/gwin/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/console.c b/src/gwin/console.c index ef374220..623404be 100644 --- a/src/gwin/console.c +++ b/src/gwin/console.c @@ -285,7 +285,7 @@ GHandle gwinGConsoleCreate(GDisplay *g, GConsoleObject *gc, const GWindowInit *p gcw->bufsize *= gh->height / gdispGetFontMetric(gh->font, fontHeight); // Allocate the buffer - if (!(gcw->buffer = (char*)gfxAlloc(gcw->bufsize))) + if (!(gcw->buffer = gfxAlloc(gcw->bufsize))) return FALSE; // All good! |