mirror of
https://github.com/opnsense/src.git
synced 2026-03-31 23:15:10 -04:00
This fixes the positioning of the "Welcome to FreeBSD" heading, which was misplaced after the recent update to Lua 5.4. The issue was previously masked by a compatibility knob in Lua 5.3 that would cause float-tagged numbers to render faithfully without the decimal component. Lua 5.4 dropped that and ensures that it always prints a decimal component, even if it has to append a ".0" to the value. Standard division produces a "float", floor division (//) can be used to guarantee an integer. Floating point operations have been completely ripped out of the liblua compiled for the bootloader, so this is a nop. This is decidedly better than trying to hack out the float tag entirely. Reported-by: mjg, probably others MFC-after: 3 days |
||
|---|---|---|
| .. | ||
| cli.lua | ||
| cli.lua.8 | ||
| color.lua | ||
| color.lua.8 | ||
| config.lua | ||
| config.lua.8 | ||
| core.lua | ||
| core.lua.8 | ||
| drawer.lua | ||
| drawer.lua.8 | ||
| gfx-beastie.lua | ||
| gfx-beastiebw.lua | ||
| gfx-fbsdbw.lua | ||
| gfx-orb.lua | ||
| gfx-orbbw.lua | ||
| hook.lua | ||
| hook.lua.8 | ||
| loader.lua | ||
| Makefile | ||
| menu.lua | ||
| menu.lua.8 | ||
| password.lua | ||
| password.lua.8 | ||
| screen.lua | ||
| screen.lua.8 | ||