diff options
author | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2021-12-30 08:21:59 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 22:21:59 -0400 |
commit | 1a691d42f6893e7bd6d18d541a9a46d87223c9cc (patch) | |
tree | 900245213572bd25506986fd8c24dc7c14c7f2cb /nsxiv.h | |
parent | 1c8ea413f3ef3528e7e6b5357f75bc4332189e0b (diff) |
fix: broken compilation when using HAVE_LIBFONTS=0 (#194)
compilation currently fails with `make HAVE_LIBFONTS=0` due to
`EXIT_SUCCESS` not being defined. I assume Xft.h includes stdlib.h which
is why compilation works with HAVE_LIBFONTS=1
this switches to using 0 as cg_quit argument in keybindings. if my
interpretation of the C99 standard is correct, then 0 and EXIT_SUCCESS
means the same thing.
> If the value of status is zero or EXIT_SUCCESS, an
> implementation-defined form of the status successful termination is
> returned.
Diffstat (limited to 'nsxiv.h')
0 files changed, 0 insertions, 0 deletions