diff options
Diffstat (limited to 'layer_surface.c')
| -rw-r--r-- | layer_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layer_surface.c b/layer_surface.c index bf17d45..bc3ef56 100644 --- a/layer_surface.c +++ b/layer_surface.c @@ -18,7 +18,7 @@ void create_surface(client_state* state) { if (state->center) { desired_width = MAX(state->required_width, min_width); } - if (state->lines > 0) { + if (state->lines) { desired_height = (state->lines + 1) * state->line_height; } |
