aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--psplash-fb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/psplash-fb.c b/psplash-fb.c
index d344e5a..c064d18 100644
--- a/psplash-fb.c
+++ b/psplash-fb.c
@@ -483,7 +483,8 @@ psplash_fb_text_size (int *width,
if (*c == '\n')
{
if (w > mw)
- mw = 0;
+ mw = w;
+ w = 0;
h += font->height;
continue;
}