diff options
| author | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:23 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:23 +0200 |
| commit | aa308069bebf2d5a3200728caa69a76137c03d8b (patch) | |
| tree | c0ba2281e801c4720a0d8a5e5ee943688234f088 /src/libnmt-newt/nmt-newt-textbox.c | |
| parent | 0a4b2c29da4ccf259bbcea3298d15abebb94348f (diff) | |
| parent | 537bfce2bda471c92caabd388589230200891509 (diff) | |
Update upstream source from tag 'upstream/1.58_rc1'
Update to upstream version '1.58~rc1' with Debian dir 451489c9234e2b6b7c2f41ca6670287ea3ac3efd
Diffstat (limited to 'src/libnmt-newt/nmt-newt-textbox.c')
| -rw-r--r-- | src/libnmt-newt/nmt-newt-textbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnmt-newt/nmt-newt-textbox.c b/src/libnmt-newt/nmt-newt-textbox.c index bf9b6a294..01e3b1c7 100644 --- a/src/libnmt-newt/nmt-newt-textbox.c +++ b/src/libnmt-newt/nmt-newt-textbox.c @@ -95,7 +95,7 @@ nmt_newt_textbox_set_text(NmtNewtTextbox *textbox, const char *text) priv->width = width; } g_free(lines); - priv->height = NM_MIN(i, 1); + priv->height = NM_MAX(i, 1); g_object_notify(G_OBJECT(textbox), "text"); nmt_newt_widget_needs_rebuild(NMT_NEWT_WIDGET(textbox)); |