summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
authorkamalpreetgrewal <grewalkamal005@gmail.com>2016-08-16 15:26:20 +0000
committerkamalpreetgrewal <grewalkamal005@gmail.com>2016-08-16 15:26:20 +0000
commitd242b8e3362e0a87c40177309a1141031d8d01f9 (patch)
tree60795f1e5fdb8799fe57b9e189259dd2992e366a /src/inkscape.cpp
parentAdd changes for compilation with trunk (diff)
parentAdd Shift+drag to arc start and end knots, holding shift will now move both k... (diff)
downloadinkscape-d242b8e3362e0a87c40177309a1141031d8d01f9.tar.gz
inkscape-d242b8e3362e0a87c40177309a1141031d8d01f9.zip
Merge changes from trunk
(bzr r14949.1.66)
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp2
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';