diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-12 17:33:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-12 17:33:51 +0300 |
commit | 37969cb5a1892a05abc84f087213c9903c2c654e (patch) | |
tree | 52835ded960d26e227a5ec3f7690c092a6b8a2d5 /src/gui/fonts/textchunksmall.cpp | |
parent | c98d192af4daa48a4c27cfa3225e22e89f329525 (diff) | |
download | manaplus-37969cb5a1892a05abc84f087213c9903c2c654e.tar.gz manaplus-37969cb5a1892a05abc84f087213c9903c2c654e.tar.bz2 manaplus-37969cb5a1892a05abc84f087213c9903c2c654e.tar.xz manaplus-37969cb5a1892a05abc84f087213c9903c2c654e.zip |
Fix code style.
Diffstat (limited to 'src/gui/fonts/textchunksmall.cpp')
-rw-r--r-- | src/gui/fonts/textchunksmall.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/fonts/textchunksmall.cpp b/src/gui/fonts/textchunksmall.cpp index f8c84fdb8..a8012522e 100644 --- a/src/gui/fonts/textchunksmall.cpp +++ b/src/gui/fonts/textchunksmall.cpp @@ -40,11 +40,12 @@ TextChunkSmall::TextChunkSmall(const TextChunkSmall &old) : { } -void TextChunkSmall::operator=(const TextChunkSmall &chunk) +TextChunkSmall &TextChunkSmall::operator=(const TextChunkSmall &chunk) { text = chunk.text; color = chunk.color; color2 = chunk.color2; + return *this; } bool TextChunkSmall::operator==(const TextChunkSmall &chunk) const |