summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/VSDXPages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDXPages.cpp b/src/lib/VSDXPages.cpp
index 178ba9b..3a4050c 100644
--- a/src/lib/VSDXPages.cpp
+++ b/src/lib/VSDXPages.cpp
@@ -51,7 +51,7 @@ libvisio::VSDXPage::~VSDXPage()
libvisio::VSDXPage &libvisio::VSDXPage::operator=(const libvisio::VSDXPage &page)
{
- if (this == &page)
+ if (this != &page)
{
m_pageWidth = page.m_pageWidth;
m_pageHeight = page.m_pageHeight;