diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-29 20:59:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-29 20:59:51 +0400 |
commit | c41e1e434ab9defa35178ad8886d81b60d889e9a (patch) | |
tree | 89cc6a948b408865e475ccb1f8c2cf98edac76bc /source/blender/editors/space_node/drawnode.c | |
parent | 93ff6f6dff73cf24e591dd2678ee601495714dc7 (diff) |
code cleanup: replace MIN2/MAX2 with minf/maxf
Diffstat (limited to 'source/blender/editors/space_node/drawnode.c')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index ad3e1954e68..c546eda1998 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -3155,7 +3155,7 @@ static void draw_nodespace_back_tex(ScrArea *sa, SpaceNode *snode) float zoomx, zoomy; zoomx = (float)sa->winx / ibuf->x; zoomy = (float)sa->winy / ibuf->y; - zoom = MIN2(zoomx, zoomy); + zoom = minf(zoomx, zoomy); } x = (sa->winx - zoom * ibuf->x) / 2 + snode->xof; |