summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-04-15 19:45:07 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-04-15 19:45:07 +0000
commitda985f982d63b06db8784199105f73bc0a4d6fc6 (patch)
tree0db5197388ed0b69847259488f6abf52277eb7f1 /plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
parent9e3ba523300180641ef7a22f791bd3ae89ec4785 (diff)
MirandaG15:
- minor bugfixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12843 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
index e2680a364f..c5fecce751 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
@@ -183,7 +183,7 @@ void CLCDLabel::UpdateCutOffIndex()
m_vLines.push_back(m_strText.substr(i,iMaxChars));
i += iMaxChars;
}
- free(piExtents);
+ delete[] piExtents;
}
else
m_vLines.push_back(m_strText);
@@ -206,7 +206,7 @@ void CLCDLabel::UpdateCutOffIndex()
}
(*--m_vLines.end()) = (*--m_vLines.end()).substr(0,iMaxChars) + _T("...");
}
- free(piWidths);
+ delete[] piWidths;
DeleteObject(hDC);