mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
config: handle allocation failure explicitly
This commit is contained in:
parent
c07d14e1c0
commit
f1fce96a1d
6 changed files with 223 additions and 68 deletions
|
|
@ -13,12 +13,10 @@
|
|||
|
||||
//#include "config.h"
|
||||
#include "fdm.h"
|
||||
#include "macros.h"
|
||||
#include "reaper.h"
|
||||
#include "wayland.h"
|
||||
|
||||
#define likely(c) __builtin_expect(!!(c), 1)
|
||||
#define unlikely(c) __builtin_expect(!!(c), 0)
|
||||
|
||||
/*
|
||||
* Note: we want the cells to be as small as possible. Larger cells
|
||||
* means fewer scrollback lines (or performance drops due to cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue