aboutsummaryrefslogtreecommitdiff
path: root/gui/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/font.h')
-rw-r--r--gui/font.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/font.h b/gui/font.h
index d5bfedbe2d..55ad9e9a1d 100644
--- a/gui/font.h
+++ b/gui/font.h
@@ -43,6 +43,7 @@ struct Surface {
uint16 h;
uint16 pitch;
uint8 bytesPerPixel;
+ Surface() : pixels(0), w(0), h(0), pitch(0), bytesPerPixel(0) {}
};
class Font {