diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-07-01 17:34:13 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-07-01 17:34:13 +1000 |
commit | 57d3632e36fe2ab55589207a84c29544b15bd2c3 (patch) | |
tree | e68070f37cf88b33fb5d717d9ef839c5e2e8dc88 /src/gwin/graph.c | |
parent | a51ffd5b6891a9fb87ac3a903ae6b415fc32c726 (diff) | |
download | uGFX-57d3632e36fe2ab55589207a84c29544b15bd2c3.tar.gz uGFX-57d3632e36fe2ab55589207a84c29544b15bd2c3.tar.bz2 uGFX-57d3632e36fe2ab55589207a84c29544b15bd2c3.zip |
GWIN Init structures are const (read-only to GWIN)
Diffstat (limited to 'src/gwin/graph.c')
-rw-r--r-- | src/gwin/graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/graph.c b/src/gwin/graph.c index 81ce1b5f..049f52e0 100644 --- a/src/gwin/graph.c +++ b/src/gwin/graph.c @@ -165,7 +165,7 @@ static void lineto(GGraphObject *gg, coord_t x0, coord_t y0, coord_t x1, coord_t } } -GHandle gwinCreateGraph(GGraphObject *gg, GWindowInit *pInit) { +GHandle gwinCreateGraph(GGraphObject *gg, const GWindowInit *pInit) { if (!(gg = (GGraphObject *)_gwindowCreate(&gg->g, pInit, &graphVMT, 0))) return 0; gg->xorigin = gg->yorigin = 0; |