summaryrefslogtreecommitdiff
path: root/src/gui/fonts/textchunksmall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/fonts/textchunksmall.cpp')
-rw-r--r--src/gui/fonts/textchunksmall.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/fonts/textchunksmall.cpp b/src/gui/fonts/textchunksmall.cpp
index afb66dacc..f8c84fdb8 100644
--- a/src/gui/fonts/textchunksmall.cpp
+++ b/src/gui/fonts/textchunksmall.cpp
@@ -40,6 +40,13 @@ TextChunkSmall::TextChunkSmall(const TextChunkSmall &old) :
{
}
+void TextChunkSmall::operator=(const TextChunkSmall &chunk)
+{
+ text = chunk.text;
+ color = chunk.color;
+ color2 = chunk.color2;
+}
+
bool TextChunkSmall::operator==(const TextChunkSmall &chunk) const
{
return (chunk.text == text && chunk.color == color