mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-06 01:40:22 -05:00
terminal: error out when we fail to load the primary font
This commit is contained in:
parent
3a9a2bb6a4
commit
40f3d4c24c
1 changed files with 2 additions and 1 deletions
|
|
@ -773,7 +773,8 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
|
||||||
term_set_window_title(term, "foot");
|
term_set_window_title(term, "foot");
|
||||||
|
|
||||||
/* Load fonts */
|
/* Load fonts */
|
||||||
term_font_dpi_changed(term);
|
if (!term_font_dpi_changed(term))
|
||||||
|
goto err;
|
||||||
|
|
||||||
/* Start the slave/client */
|
/* Start the slave/client */
|
||||||
if ((term->slave = slave_spawn(term->ptmx, argc, term->cwd, argv, term_env, conf->shell, login_shell)) == -1)
|
if ((term->slave = slave_spawn(term->ptmx, argc, term->cwd, argv, term_env, conf->shell, login_shell)) == -1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue