summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ff97ea)
raw | patch | inline | side by side (parent: 6ff97ea)
author | joncruz <joncruz@users.sourceforge.net> | |
Sat, 13 Sep 2008 06:55:45 +0000 (06:55 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sat, 13 Sep 2008 06:55:45 +0000 (06:55 +0000) |
src/main.cpp | patch | blob | history |
diff --git a/src/main.cpp b/src/main.cpp
index f9904c71c4275d481b1c1f5d3d7adc2c1528a4e9..77b7c5382fd8a1eca222981142d3bfe79b889939 100644 (file)
--- a/src/main.cpp
+++ b/src/main.cpp
*/
Glib::ustring homedir = _win32_getExePath();
SetCurrentDirectory(homedir.c_str());
- _win32_set_inkscape_env(homedir);
+ _win32_set_inkscape_env(homedir);
RegistryTool rt;
rt.setPathInfo();
#endif
unsigned long int height = 0;
if (sp_export_width) {
- errno=0;
+ errno=0;
width = strtoul(sp_export_width, NULL, 0);
if ((width < 1) || (width > PNG_UINT_31_MAX) || (errno == ERANGE) ) {
g_warning("Export width %lu out of range (1 - %lu). Nothing exported.", width, (unsigned long int)PNG_UINT_31_MAX);
}
if (sp_export_height) {
- errno=0;
+ errno=0;
height = strtoul(sp_export_height, NULL, 0);
if ((height < 1) || (height > PNG_UINT_31_MAX)) {
g_warning("Export height %lu out of range (1 - %lu). Nothing exported.", height, (unsigned long int)PNG_UINT_31_MAX);