mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
fc6c0ca12e
Previously, the path of TTY is generated using snprintf with %d format. It works with TTY 1 to 10, but fails with TTY with greater number because the number used in the name is in base 32 instead of base 10. Since there is no standard function to convert a number to a string with a custom base, this commit adds a function to do it. Fixes: https://github.com/swaywm/wlroots/issues/1854 |
||
---|---|---|
.. | ||
direct-freebsd.c | ||
direct-ipc.c | ||
direct.c | ||
logind.c | ||
noop.c | ||
session.c |