diff options
Diffstat (limited to 'src/dialogs/export.cpp')
| -rw-r--r-- | src/dialogs/export.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index 6cd108412..54df64782 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -348,6 +348,9 @@ sp_export_dialog (void) 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 { |
