1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-09-30 02:19:27 +03:00

eeshow/gfx/cro.c (xc): mixed up offset calculation

Apparently, this had no major effect.
This commit is contained in:
Werner Almesberger 2016-08-20 09:19:35 -03:00
parent b289869f2a
commit adfb52d12d

View File

@ -74,7 +74,7 @@ static inline int cx(const struct cro_ctx *cc, int x)
static inline int xc(const struct cro_ctx *cc, int x) static inline int xc(const struct cro_ctx *cc, int x)
{ {
return (x - cc->xe) / cc->scale - cc->xe; return (x - cc->xo) / cc->scale - cc->xe;
} }