1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Reindent unix/dialog.c.

Large chunks of the GTK setup code had a 2-space indent for some
reason, in place of the usual 4-space in this code base. I've been
meaning to sort it out for ages, because it makes it hard to have a
single set of editor settings suitable for the whole code base.
This commit is contained in:
Simon Tatham 2022-06-23 18:44:07 +01:00
parent bc61acc53d
commit 3bef6b63f0

View File

@ -2312,8 +2312,8 @@ GtkWidget *layout_ctrls(
{
int edge;
edge = GTK_WIDGET(uc->list)->style->klass->ythickness;
gtk_widget_set_size_request(w, 10,
2*edge + (ctrl->listbox.height *
gtk_widget_set_size_request(
w, 10, 2*edge + (ctrl->listbox.height *
get_listitemheight(w)));
}