Ticket #5678: libs_libmyth-too-many-variables.patch

File libs_libmyth-too-many-variables.patch, 1.1 KB (added by Erik Hovland <erik@…>, 12 years ago)

removes second assignment of topRow

  • mythtv/libs/libmyth/uitypes.cpp

    topRow is listed twice.
    
    From: Erik Hovland <erik@hovland.org>
    
    
    ---
    
     mythtv/libs/libmyth/uitypes.cpp |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/mythtv/libs/libmyth/uitypes.cpp b/mythtv/libs/libmyth/uitypes.cpp
    index b516297..e055881 100644
    a b UIImageGridType::UIImageGridType(const QString &name, int order) 
    17011701    defaultPixmap = normalPixmap = selectedPixmap = highlightedPixmap = NULL;
    17021702
    17031703    topRow = rowCount = columnCount = itemCount = currentItem =
    1704             borderWidth = padding = topRow = cellWidth = cellHeight =
     1704            borderWidth = padding = cellWidth = cellHeight =
    17051705            lastRow = lastColumn = curColumn = curRow = 0;
    17061706
    17071707    textPos = UIImageGridType::textPosBottom;
    UIImageGridType::~UIImageGridType(void) 
    17491749void UIImageGridType::reset(void)
    17501750{
    17511751    allData->clear();
    1752     topRow = itemCount = currentItem = topRow = lastRow =
     1752    topRow = itemCount = currentItem = lastRow =
    17531753            lastColumn = curColumn = curRow = 0;
    17541754}
    17551755