diff --git a/src/dialogs/find.cpp b/src/dialogs/find.cpp
index c1f1c9974c53de30c48b48c0e29ad5240d86afc9..c76390ccba5a7c164a43fdd3a6df4f0490cdb2f3 100644 (file)
--- a/src/dialogs/find.cpp
+++ b/src/dialogs/find.cpp
w = prefs_get_int_attribute (prefs_path, "w", 0);
h = prefs_get_int_attribute (prefs_path, "h", 0);
}
+
+ if (x<0) x=0;
+ if (y<0) y=0;
+
if (x != 0 || y != 0) {
gtk_window_move ((GtkWindow *) dlg, x, y);
} else {