mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-20 01:40:14 -05:00
box-drawing: remove __attribute__((__const__)) from thickness()
thickness() is a static function and thus ‘const’ is not necessary.
This commit is contained in:
parent
cf0270c1ea
commit
5b167bd185
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@
|
|||
#define LIGHT 1.0
|
||||
#define HEAVY 2.0
|
||||
|
||||
static int CONST
|
||||
static int
|
||||
thickness(float pts, int dpi)
|
||||
{
|
||||
return pts * (float)dpi / 72.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue