diff options
-rw-r--r-- | src/glibext/gbufferview.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glibext/gbufferview.c b/src/glibext/gbufferview.c index db8da28..cfe215d 100644 --- a/src/glibext/gbufferview.c +++ b/src/glibext/gbufferview.c @@ -1121,6 +1121,8 @@ void g_buffer_view_draw(const GBufferView *view, cairo_t *cr, gint virt_y, const line_height = g_buffer_cache_get_line_height(view->cache) * scale; + line_height = MAX(line_height, 1); + /* Indice et point de départ */ first = view->first; |