summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-04-30 21:38:31 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-04-30 21:38:31 +0000
commitb8b4636cc84b4845699b6013c08fd396b9eac519 (patch)
tree69563dc825dc81833be5e66b436557f4c0e4d779 /src/main.cpp
parentallow --export-dpi to be used for setting the filter rasterization resolution... (diff)
downloadinkscape-b8b4636cc84b4845699b6013c08fd396b9eac519.tar.gz
inkscape-b8b4636cc84b4845699b6013c08fd396b9eac519.zip
copyedit labels, expand range
(bzr r7802)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d6da78a97..37dff7cde 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1481,8 +1481,8 @@ static void do_export_ps_pdf(SPDocument* doc, gchar const* uri, char const* mime
gdouble dpi = 90.0;
if (sp_export_dpi) {
dpi = atof(sp_export_dpi);
- if ((dpi < 72) || (dpi > 2400.0)) {
- g_warning("DPI value %s out of range [72 - 2400]. Using 90 dpi instead.", sp_export_dpi);
+ if ((dpi < 1) || (dpi > 10000.0)) {
+ g_warning("DPI value %s out of range [1 - 10000]. Using 90 dpi instead.", sp_export_dpi);
dpi = 90;
}
}