diff options
-rw-r--r-- | src/graphics/font_char_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/font_char_map.c b/src/graphics/font_char_map.c index fc1c2e5..f339853 100644 --- a/src/graphics/font_char_map.c +++ b/src/graphics/font_char_map.c @@ -48,7 +48,7 @@ static void mgl_font_char_map_reorder_nodes(mgl_font_char_map *self, size_t prev while(entry) { const uint32_t hash = entry->key; const size_t index = HASH_TO_INDEX(hash); - mgl_font_char_entry *next_entry = entry->next; /* store next here so the next insert below doesn't cause an infinite loop */ + mgl_font_char_entry *next_entry = entry->next; if(index != i) { /* Remove entry by replacing this entry with the next entry */ |