summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bf4ff6c)
raw | patch | inline | side by side (parent: bf4ff6c)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 28 Aug 2008 20:45:29 +0000 (20:45 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 28 Aug 2008 20:45:29 +0000 (20:45 +0000) |
src/inkscape.cpp | patch | blob | history |
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 16813e46b28b19a674060b0157bec7ccd32959d5..10857e94a797f598087b6220a7610adda41308de 100644 (file)
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
*/
static gint inkscape_autosave(gpointer)
{
+ if (!inkscape->documents) { // nothing to autosave
+ return TRUE;
+ }
+
// Use UID for separating autosave-documents between users if directory is multiuser
uid_t uid = getuid();