Skip to content

Commit

Permalink
fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
emawind84 committed Feb 1, 2024
1 parent 5e0ee6f commit 929eecb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gamedata/fonts/v_font.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ class FFont
inline int StringWidth (const char *str, int spacing = 0) const { return StringWidth ((const uint8_t *)str, spacing); }
inline int StringWidth (const FString &str, int spacing = 0) const { return StringWidth ((const uint8_t *)str.GetChars(), spacing); }

inline bool CanPrint(const uint8_t *str) const { return true; } // hack hack

// Checks if the font contains all characters to print this text.
bool CanPrint(const uint8_t *str) const;
inline bool CanPrint(const char *str) const { return CanPrint((const uint8_t *)str); }
Expand Down

0 comments on commit 929eecb

Please sign in to comment.