summaryrefslogtreecommitdiff
path: root/Userland/Games
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-20 18:55:23 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-20 20:55:29 +0200
commit8a6c37deef4913d44aae61385d702f92a01c314b (patch)
tree41ec009b25c8a83f051c994acccaa6e98ea4dd1f /Userland/Games
parent6a012ad79f95673a36531c27c81e0efa6c6ec664 (diff)
downloadserenity-8a6c37deef4913d44aae61385d702f92a01c314b.zip
LibGfx: Remove Gfx::FontDatabase::default_bold_fixed_width_font()
Ask for a bold_variant() of the default_fixed_width_font() instead.
Diffstat (limited to 'Userland/Games')
-rw-r--r--Userland/Games/Snake/SnakeGame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Snake/SnakeGame.cpp b/Userland/Games/Snake/SnakeGame.cpp
index c8d8e423fb..5a63aa5e37 100644
--- a/Userland/Games/Snake/SnakeGame.cpp
+++ b/Userland/Games/Snake/SnakeGame.cpp
@@ -15,7 +15,7 @@
SnakeGame::SnakeGame()
{
- set_font(Gfx::FontDatabase::default_bold_fixed_width_font());
+ set_font(Gfx::FontDatabase::default_fixed_width_font().bold_variant());
m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/paprika.png"));
m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/eggplant.png"));
m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/cauliflower.png"));