From bf9fa6dd4745fd07835a7df57b229d4d2ca03254 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Sat, 15 Jun 2013 16:43:43 +0100 Subject: [PATCH] MHText: Fix coverity 746766. Copy-paste error. This does indeed look like a copy/paste error, the value of 24 is what linespace is initialised to so I'm assuming that's what we want to fall back to. --- mythtv/libs/libmythfreemheg/Text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythtv/libs/libmythfreemheg/Text.cpp b/mythtv/libs/libmythfreemheg/Text.cpp index 000c06fb3b3..94dfaf7b460 100644 --- a/mythtv/libs/libmythfreemheg/Text.cpp +++ b/mythtv/libs/libmythfreemheg/Text.cpp @@ -455,7 +455,7 @@ static void InterpretAttributes(const MHOctetString &attrs, int &style, int &siz if (lineSpace == 0) { - size = 0x18; + lineSpace = 0x18; } p = q + 1;