mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-09 08:21:01 -04: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 LIGHT 1.0
|
||||||
#define HEAVY 2.0
|
#define HEAVY 2.0
|
||||||
|
|
||||||
static int CONST
|
static int
|
||||||
thickness(float pts, int dpi)
|
thickness(float pts, int dpi)
|
||||||
{
|
{
|
||||||
return pts * (float)dpi / 72.0;
|
return pts * (float)dpi / 72.0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue