about summary refs log tree commit diff
path: root/src/libnmt-newt/nmt-newt-button-box.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnmt-newt/nmt-newt-button-box.c')
-rw-r--r--src/libnmt-newt/nmt-newt-button-box.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnmt-newt/nmt-newt-button-box.c b/src/libnmt-newt/nmt-newt-button-box.c
index f3c8b27e..de17d5a8 100644
--- a/src/libnmt-newt/nmt-newt-button-box.c
+++ b/src/libnmt-newt/nmt-newt-button-box.c
@@ -218,12 +218,12 @@ size_request_buttons(NmtNewtButtonBox *bbox, GPtrArray *buttons, int *width, int
             *width += child_width;
             if (i > 0)
                 *width += 1;
-            *height = MAX(*height, child_height);
+            *height = NM_MAX(*height, child_height);
         } else {
             *height += child_height;
             if (i > 0)
                 *height += 1;
-            *width = MAX(*width, child_width);
+            *width = NM_MAX(*width, child_width);
         }
     }
 }