From 724fc57603cb467dc2d4247c132c0964611b1625 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 21 Jul 2009 17:22:59 +0000 Subject: [PATCH] allow up to 31x31 patches git-svn-id: svn://svn.icculus.org/netradiant/trunk@388 61c419a2-8eb2-4b30-bcec-8cead039b335 --- radiant/patchmanip.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/radiant/patchmanip.cpp b/radiant/patchmanip.cpp index af278f99..ac360b6f 100644 --- a/radiant/patchmanip.cpp +++ b/radiant/patchmanip.cpp @@ -900,6 +900,14 @@ void DoNewPatchDlg() gtk_combo_box_append_text(combo, "11"); gtk_combo_box_append_text(combo, "13"); gtk_combo_box_append_text(combo, "15"); + gtk_combo_box_append_text(combo, "17"); + gtk_combo_box_append_text(combo, "19"); + gtk_combo_box_append_text(combo, "21"); + gtk_combo_box_append_text(combo, "23"); + gtk_combo_box_append_text(combo, "25"); + gtk_combo_box_append_text(combo, "27"); + gtk_combo_box_append_text(combo, "29"); + gtk_combo_box_append_text(combo, "31"); // MAX_PATCH_SIZE is 32, so we should be able to do 31... gtk_widget_show(GTK_WIDGET(combo)); gtk_table_attach(table, GTK_WIDGET(combo), 1, 2, 0, 1, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), @@ -916,6 +924,14 @@ void DoNewPatchDlg() gtk_combo_box_append_text(combo, "11"); gtk_combo_box_append_text(combo, "13"); gtk_combo_box_append_text(combo, "15"); + gtk_combo_box_append_text(combo, "17"); + gtk_combo_box_append_text(combo, "19"); + gtk_combo_box_append_text(combo, "21"); + gtk_combo_box_append_text(combo, "23"); + gtk_combo_box_append_text(combo, "25"); + gtk_combo_box_append_text(combo, "27"); + gtk_combo_box_append_text(combo, "29"); + gtk_combo_box_append_text(combo, "31"); // MAX_PATCH_SIZE is 32, so we should be able to do 31... gtk_widget_show(GTK_WIDGET(combo)); gtk_table_attach(table, GTK_WIDGET(combo), 1, 2, 1, 2, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), -- 2.39.2