From 7a777f77012196400cf480e3b43c6431a96a3026 Mon Sep 17 00:00:00 2001 From: stegerg Date: Sun, 8 Apr 2007 12:25:11 +0000 Subject: [PATCH] If there was a window prop gadget for the bottom border but none for the right border it did not add the gadget to the gadgetlist as the code always used {WA_Gadgets, data->wd_VertProp}. git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@25679 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/libs/muimaster/classes/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench/libs/muimaster/classes/window.c b/workbench/libs/muimaster/classes/window.c index 6143c84d0..43475c401 100644 --- a/workbench/libs/muimaster/classes/window.c +++ b/workbench/libs/muimaster/classes/window.c @@ -583,7 +583,7 @@ static BOOL DisplayWindow(Object *obj, struct MUI_WindowData *data) data->wd_NoMenus ? WA_RMBTrap : TAG_IGNORE, (IPTR) TRUE, - WA_Gadgets, (IPTR) data->wd_VertProp, + WA_Gadgets, (IPTR) (data->wd_VertProp ? data->wd_VertProp : data->wd_HorizProp), data->wd_ZoomGadget ? WA_Zoom : TAG_IGNORE, (IPTR) &altdims, -- 2.11.4.GIT