Skip to content

Commit

Permalink
Fix bug in the import of the C function for sfText_getLineSpacing
Browse files Browse the repository at this point in the history
This is related to SFML/CSFML#130

My version of Text.h has the issue and neither of the C names works, but
hopefully, this fix will work in a fixed version of CSFML.
  • Loading branch information
mgrojo committed Aug 10, 2022
1 parent 8411b4a commit 2a4af34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sf-graphics-text.ads
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ private
pragma Import (C, getFont, "sfText_getFont");
pragma Import (C, getCharacterSize, "sfText_getCharacterSize");
pragma Import (C, getLetterSpacing, "sfText_getLetterSpacing");
pragma Import (C, getLineSpacing, "getLineSpacing");
pragma Import (C, getLineSpacing, "sfText_getLineSpacing");
pragma Import (C, getStyle, "sfText_getStyle");
pragma Import (C, getColor, "sfText_getColor");
pragma Import (C, getFillColor, "sfText_getFillColor");
Expand Down

0 comments on commit 2a4af34

Please sign in to comment.