summaryrefslogtreecommitdiff
path: root/src/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/text.cpp b/src/text.cpp
index 384a048f..2cd1e29a 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -122,12 +122,14 @@ void Text::adviseXY(int x, int y)
void Text::draw(gcn::Graphics *graphics, int xOff, int yOff)
{
- if (mIsSpeech) {
+ if (mIsSpeech)
+ {
static_cast<Graphics*>(graphics)->drawImageRect(
mX - xOff - 5, mY - yOff - 5, mWidth + 10, mHeight + 10,
mBubble);
/*
- if (mWidth >= 15) {
+ if (mWidth >= 15)
+ {
static_cast<Graphics*>(graphics)->drawImage(
mBubbleArrow, mX - xOff - 7 + mWidth / 2,
mY - yOff + mHeight + 4);