summaryrefslogtreecommitdiff
path: root/src/Graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Graphics.cpp')
-rw-r--r--src/Graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Graphics.cpp b/src/Graphics.cpp
index 2711237..c7d8ba2 100644
--- a/src/Graphics.cpp
+++ b/src/Graphics.cpp
@@ -570,11 +570,11 @@ void Graphics::textsize(const char * s, int & width, int & height)
if(!strlen(s))
{
width = 0;
- height = 0;
+ height = FONT_H;
return;
}
- int cHeight = FONT_H+2, cWidth = 0, lWidth = 0;
+ int cHeight = FONT_H, cWidth = 0, lWidth = 0;
for (; *s; s++)
{
if (*s == '\n')