This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.

View the commit online.

commit 8cf668e9c048e45ccfdbe116f240c3a92ba9346e
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Wed Sep 20 17:59:53 2023 +0200

    dialogs: Fix layout in window group selection
    
    ASAN complains, bug might cause segv.
    
    Broken by 3c42724f969ba553a63ed8d457aebdb95d3b888b (in v1.0.25).
    
    Reported by Milan Maljković.
---
 src/groups.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/groups.c b/src/groups.c
index 78c4b8f3..dc0c7113 100644
--- a/src/groups.c
+++ b/src/groups.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
- * Copyright (C) 2004-2022 Kim Woelders
+ * Copyright (C) 2004-2023 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -740,7 +740,7 @@ _DlgFillGroupChoose(Dialog * d, DItem * table, void *data)
 
    *dd = *(GroupSelDlgData *) data;
 
-   DialogItemTableSetOptions(table, 2, 0, 0, 0);
+   DialogItemTableSetOptions(table, 1, 0, 0, 0);
 
    di = DialogAddItem(table, DITEM_TEXT);
    DialogItemSetText(di, dd->message);
@@ -756,7 +756,6 @@ _DlgFillGroupChoose(Dialog * d, DItem * table, void *data)
 	di = DialogAddItem(table, DITEM_RADIOBUTTON);
 	if (i == 0)
 	   radio = di;
-	DialogItemSetColSpan(di, 2);
 	DialogItemSetCallback(di, _DlgSelectCbGroupChoose, i, NULL);
 	DialogItemSetText(di, group_member_strings[i]);
 	DialogItemRadioButtonSetFirst(di, radio);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to