ports/graphics/geomorph/files/extra-patch-src-hf-subdiv1_dialog.c
Pav Lucistnik 195e1f0a24 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>
2006-03-18 17:13:52 +00:00

13 lines
533 B
C

--- 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??)