diff -r 5cee4cb5ad79 -r 11f3bb408051 ui/gtk/entry.c --- a/ui/gtk/entry.c Wed Nov 22 09:49:26 2017 +0100 +++ b/ui/gtk/entry.c Wed Nov 22 12:59:13 2017 +0100 @@ -84,6 +84,11 @@ if(step == 0) { step = 1; } +#ifdef UI_GTK2LEGACY + if(min == max) { + max = min + 1; + } +#endif GtkWidget *spin = gtk_spin_button_new_with_range(min, max, step); gtk_spin_button_set_digits(GTK_SPIN_BUTTON(spin), digits); if(var) {