diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-08-15 20:55:21 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-08-15 20:55:21 +0000 |
| commit | 7f779f28e67eac1653e0f7751bb3f224b67894c7 (patch) | |
| tree | ed872536d8fe377caf2ba22181f8dbfc6a82cf35 /src/inkscape.cpp | |
| parent | Fix bug reported in http://www.viva64.com/en/b/0419/ (diff) | |
| download | inkscape-7f779f28e67eac1653e0f7751bb3f224b67894c7.tar.gz inkscape-7f779f28e67eac1653e0f7751bb3f224b67894c7.zip | |
Fix a bunch of errors as reported at http://www.viva64.com/en/b/0419/
(bzr r15059)
Diffstat (limited to 'src/inkscape.cpp')
| -rw-r--r-- | src/inkscape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 48b921752..6f8ea4324 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -656,6 +656,7 @@ Application::crash_handler (int /*signum*/) repr = doc->getReprRoot(); if (doc->isModifiedSinceSave()) { const gchar *docname; + char n[64]; /* originally, the document name was retrieved from * the sodipod:docname attribute */ @@ -671,7 +672,6 @@ Application::crash_handler (int /*signum*/) if (*d=='.') dots++; } if (*d=='.' && d>docname && dots==2) { - char n[64]; size_t len = MIN (d - docname, 63); memcpy (n, docname, len); n[len] = '\0'; |
