Code

fixing misspelled name in copyright notice
[inkscape.git] / src / dialogs / find.cpp
index c1f1c9974c53de30c48b48c0e29ad5240d86afc9..c76390ccba5a7c164a43fdd3a6df4f0490cdb2f3 100644 (file)
@@ -652,6 +652,10 @@ sp_find_dialog_old (void)
             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 {