From f5aae814657baa9384fb0ce33e80986b8f67a90d Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 4 Dec 2015 20:08:30 -0600 Subject: [PATCH] MicroDagr - Add #undef to config for pboProject #2936 --- addons/microdagr/gui.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/microdagr/gui.hpp b/addons/microdagr/gui.hpp index 2eeb99563c..115318bd02 100644 --- a/addons/microdagr/gui.hpp +++ b/addons/microdagr/gui.hpp @@ -64,6 +64,11 @@ class GVAR(TheDialog) { #define PROFILE_W (profilenamespace getvariable ['IGUI_GRID_GPS_W', 1]) #define PROFILE_H ((16/9) * (profilenamespace getvariable ['IGUI_GRID_GPS_W', 1])) +//Need undef's for pboProject +#undef X_PART +#undef Y_PART +#undef W_PART +#undef H_PART #define X_PART(num) QUOTE((num) / 25 * PROFILE_W + PROFILE_X) #define Y_PART(num) QUOTE((num) / 25 * PROFILE_H + PROFILE_Y) #define W_PART(num) QUOTE((num) / 25 * PROFILE_W)