[LyX/2.3.x] Qt4 compilable again
José Matos
jaomatos at gmail.com
Thu Nov 24 16:21:04 UTC 2022
On Wed, 2022-11-23 at 22:47 +0100, Pavel Sanda wrote:
> +#else
> +#define qDegreesToRadians(degree) (degree * (M_PI / 180))
> +#endif
Probably here it does not mater but in general the safer version would
be to move the parenthesis from right to let, i.e.
(degree) * M_PI/180
I am thinking about examples like qDegreesToRadians(a+b)
Best regards,
--
José Abílio
More information about the lyx-devel
mailing list