[VGAFONTEDIT] Use static __inline instead of inline

This commit is contained in:
Katayma Hirofumi MZ 2019-11-09 09:16:15 +09:00
parent 5308a606dc
commit d12af4fb10

View file

@ -138,7 +138,8 @@ VOID UnInitFontBoxesWndClass(VOID);
VOID GetCharacterRect(IN UINT uFontRow, IN UINT uFontColumn, OUT LPRECT CharacterRect); VOID GetCharacterRect(IN UINT uFontRow, IN UINT uFontColumn, OUT LPRECT CharacterRect);
VOID EditCurrentGlyph(PFONT_WND_INFO FontWndInfo); VOID EditCurrentGlyph(PFONT_WND_INFO FontWndInfo);
inline VOID GetCharacterPosition(IN UINT uCharacter, OUT PUINT uFontRow, OUT PUINT uFontColumn) static __inline VOID
GetCharacterPosition(IN UINT uCharacter, OUT PUINT uFontRow, OUT PUINT uFontColumn)
{ {
*uFontRow = uCharacter / 16; *uFontRow = uCharacter / 16;
*uFontColumn = uCharacter % 16; *uFontColumn = uCharacter % 16;