render: csd: fix typo when CSDs are positioned *inside* main surface

This commit is contained in:
Daniel Eklöf 2020-02-26 13:22:20 +01:00
parent 020ce60778
commit 6eece79218
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1174,7 +1174,7 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
const int csd_title = 0;
#else
const int csd_border = term->window->use_csd == CSD_YES ? csd_border_size * scale : 0;
const int csd_title = term->window->use_csd == CSD_YES ? ? csd_title_size * scale : 0;
const int csd_title = term->window->use_csd == CSD_YES ? csd_title_size * scale : 0;
#endif
const int csd_x = 2 * csd_border;