From b070914216cbcd94a8e5f0ff51bb114def274ee9 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 2 Feb 2022 18:18:27 +0000 Subject: [PATCH] Fix cardinal sin of macro definitions. --- 3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp b/3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp index a87648e3b4..88ea51fe08 100644 --- a/3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp +++ b/3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp @@ -57,7 +57,7 @@ #include -#define TO_3DU( x ) ( x * m_biuTo3Dunits ) +#define TO_3DU( x ) ( ( x ) * m_biuTo3Dunits ) #define TO_SFVEC2F( vec ) SFVEC2F( TO_3DU( vec.x ), TO_3DU( -vec.y ) )