diff options
author | David Robillard <d@drobilla.net> | 2014-01-03 22:24:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-03 22:24:11 +0000 |
commit | 3517286a9404d556c384276d63b73b588fadbcfe (patch) | |
tree | 21d755eaeebace222216b3ab294ea200171fe3a2 /src/text.c | |
parent | 9191aae81ab497d9cbf5a256b2b2e9dbf1af5d67 (diff) | |
download | ganv-3517286a9404d556c384276d63b73b588fadbcfe.tar.gz ganv-3517286a9404d556c384276d63b73b588fadbcfe.tar.bz2 ganv-3517286a9404d556c384276d63b73b588fadbcfe.zip |
Draw and layout performance improvements.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5248 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/text.c')
-rw-r--r-- | src/text.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -217,10 +217,10 @@ ganv_text_bounds_item(GanvItem* item, ganv_text_layout(text); } - *x1 = MIN(impl->coords.x, impl->coords.x + impl->coords.width); - *y1 = MIN(impl->coords.y, impl->coords.y + impl->coords.height); - *x2 = MAX(impl->coords.x, impl->coords.x + impl->coords.width); - *y2 = MAX(impl->coords.y, impl->coords.y + impl->coords.height); + *x1 = impl->coords.x; + *y1 = impl->coords.y; + *x2 = impl->coords.x + impl->coords.width; + *y2 = impl->coords.y + impl->coords.height; } static void |