summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b60c00a)
raw | patch | inline | side by side (parent: b60c00a)
author | mental <mental@users.sourceforge.net> | |
Sun, 3 Feb 2008 22:44:06 +0000 (22:44 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Sun, 3 Feb 2008 22:44:06 +0000 (22:44 +0000) |
src/inkscape.cpp | patch | blob | history |
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 388b8fb1f87f6030679d7edf7a12e071aff317c5..995684d6cf44132192730b3780b650e588b2d5d6 100644 (file)
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
if (!Inkscape::NSApplication::Application::getNewGui())
{
- if ( inkscape->document_set.find(document) != inkscape->document_set.end() ) {
+ if ( inkscape->document_set.find(document) == inkscape->document_set.end() ) {
inkscape->documents = g_slist_append (inkscape->documents, document);
}
if (!Inkscape::NSApplication::Application::getNewGui())
{
inkscape->document_set.erase(document);
- if ( inkscape->document_set.find(document) == inkscape->document_set.end() ) {
+ if ( inkscape->document_set.find(document) != inkscape->document_set.end() ) {
inkscape->documents = g_slist_remove (inkscape->documents, document);
}
}