diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
commit | d9f02858fdc04c4404834a033850f758e4c8ee7e (patch) | |
tree | 2d7b4759cabf76eba5b7ef2147e58d3c9d7f885b /src/gdisp/fonts.c | |
parent | 018a930d5525ffefc30fb2514752918455853685 (diff) | |
download | uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.gz uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.bz2 uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.zip |
Replace NULL's with 0 as NULL is not defined by the Raw32 GOS.
Diffstat (limited to 'src/gdisp/fonts.c')
-rw-r--r-- | src/gdisp/fonts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdisp/fonts.c b/src/gdisp/fonts.c index 937102ee..ea8d1615 100644 --- a/src/gdisp/fonts.c +++ b/src/gdisp/fonts.c @@ -74,7 +74,7 @@ void gdispCloseFont(font_t font) { struct mf_font_s *dfont = (struct mf_font_s *)font; /* Make sure that no-one can successfully use font after closing */ - dfont->render_character = NULL; + dfont->render_character = 0; /* Release the allocated memory */ gfxFree(dfont); |