summaryrefslogtreecommitdiff
path: root/graphics/geomorph/files/extra-patch-src-hf-subdiv1_dialog.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-03-18 17:13:52 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-03-18 17:13:52 +0000
commit195e1f0a249fc5c721fd8018c887bb81739e860b (patch)
treeeb407c2917373e8b82140b206189addfddadbdbf /graphics/geomorph/files/extra-patch-src-hf-subdiv1_dialog.c
parent- Update to 2.1.1 (diff)
Geomorph is a height field generator and editor for the Linux
operating system. A height field is a kind of topographic map. It is a 2D projection of a 3D landscape. Geomorph generates square images and shows a 3D preview of the resulting landscape. The resulting 2D image can be processed with a tool like Povray for rendering the landscape. WWW: http://geomorph.sourceforge.net/ PR: ports/94521 Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
Diffstat (limited to 'graphics/geomorph/files/extra-patch-src-hf-subdiv1_dialog.c')
-rw-r--r--graphics/geomorph/files/extra-patch-src-hf-subdiv1_dialog.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/geomorph/files/extra-patch-src-hf-subdiv1_dialog.c b/graphics/geomorph/files/extra-patch-src-hf-subdiv1_dialog.c
new file mode 100644
index 000000000000..ff2ff2701875
--- /dev/null
+++ b/graphics/geomorph/files/extra-patch-src-hf-subdiv1_dialog.c
@@ -0,0 +1,13 @@
+--- src/hf/subdiv1_dialog.c.orig Thu Apr 7 05:34:56 2005
++++ src/hf/subdiv1_dialog.c Mon Mar 6 12:55:02 2006
+@@ -55,9 +55,9 @@
+ }
+
+ gint change_subdiv1_seed(GtkWidget *entry, gpointer data) {
++ unsigned int s;
+ hf_wrapper_struct *hfw;
+ hfw = (hf_wrapper_struct *) * (hf_wrapper_struct **) data;
+- unsigned int s;
+ // Avoid double display... the callback seems always to be called twice,
+ // the first time with an empty entry, I don't know why
+ // (maybe because "gtk_entry_set_text" blanks the field before writing in it??)