diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-01-09 19:25:03 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-01-09 19:25:03 +0100 |
commit | c6a9de8c4a1dd9fb5c179ff323f0508f72974b9e (patch) | |
tree | e4c9dd8c0ce2507a1127c6b30d3e22340b8ca44f /test | |
parent | d7dab65e5b89f2a223fba00c62accee2d5313609 (diff) |
Use snprintf instead of sprintf
Diffstat (limited to 'test')
-rw-r--r-- | test/textbox-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/textbox-test.c b/test/textbox-test.c index 47a5c83d..e9d86c94 100644 --- a/test/textbox-test.c +++ b/test/textbox-test.c @@ -170,7 +170,7 @@ int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv ) textbox_font ( box, HIGHLIGHT ); textbox_draw ( box, draw ); - widget_move ( WIDGET(box), 12, 13 ); + widget_move ( WIDGET ( box ), 12, 13 ); TASSERT ( box->widget.x == 12 ); TASSERT ( box->widget.y == 13 ); |