From 96b956e0f288d0a4d5c8b254c1e456393448f849 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sat, 18 Apr 2020 13:37:26 +0100 Subject: [PATCH] fix font output --- src/game.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.rs b/src/game.rs index 60cdfb8..138a65f 100644 --- a/src/game.rs +++ b/src/game.rs @@ -265,9 +265,9 @@ impl Game { "".to_string() } else { if self.font == Font::Custom { - format!("\n\nDEFAULT FONT {}", self.custom_font.as_ref().unwrap()) + format!("\n\nDEFAULT_FONT {}", self.custom_font.as_ref().unwrap()) } else { - format!("\n\nDEFAULT FONT {}", self.font.to_string().unwrap()) + format!("\n\nDEFAULT_FONT {}", self.font.to_string().unwrap()) } } }