diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-06 11:01:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-13 10:04:29 +0000 |
| commit | d29c3cf7b76c6a1935684124b4d7cad69de94c78 (patch) | |
| tree | 507c0c3aca15c7539972da49d93471d6c20452d2 /render.c | |
| parent | config: add value_to_str() (diff) | |
config: add {str,value}_to_uint{16,32}()
This allows us to pass the final pointer directly to the conversion
functions, as well as allowing us to print outside-range errors.
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3538,7 +3538,7 @@ maybe_resize(struct terminal *term, int width, int height, bool force) term->height = height; term->scale = scale; - const int scrollback_lines = term->render.scrollback_lines; + const uint32_t scrollback_lines = term->render.scrollback_lines; /* Screen rows/cols before resize */ const int old_cols = term->cols; |
