mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Cleaned up font code to always use uint32 instead of the slightly more ambiguous "unsigned int" for codepoints
This commit is contained in:
@@ -55,7 +55,7 @@ int Rasterizer::getDescent() const
|
||||
|
||||
GlyphData *Rasterizer::getGlyphData(const std::string &text) const
|
||||
{
|
||||
unsigned int codepoint = 0;
|
||||
uint32 codepoint = 0;
|
||||
|
||||
try
|
||||
{
|
||||
@@ -74,7 +74,7 @@ bool Rasterizer::hasGlyph(const std::string &text) const
|
||||
if (text.size() == 0)
|
||||
return false;
|
||||
|
||||
unsigned int codepoint = 0;
|
||||
uint32 codepoint = 0;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user