Skip to content

Commit

Permalink
Oops - re-add fix lost by d766874
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelPearson committed Aug 7, 2013
1 parent d10b947 commit 1a2b711
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/libs/libmythbase/mythmiscutil.cpp
Expand Up @@ -934,6 +934,10 @@ void wrapList(QStringList &list, int width)
{
int i;

// if this is triggered, something has gone seriously wrong
// the result won't really be usable, but at least it won't crash
width = max(width, 5);

for(i = 0; i < list.size(); i++)
{
QString string = list.at(i);
Expand Down

0 comments on commit 1a2b711

Please sign in to comment.