Bug 1519044 - Bug 1466782 follow-up: fix incorrect 'unread column' name. r=alta88
authorJorg K <jorgk@jorgk.com>
Fri, 11 Jan 2019 09:50:24 +0100
changeset 33308 0c6c2007dfae
parent 33307 53838da2d151
child 33309 389458d07470
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersalta88
bugs1519044, 1466782
Bug 1519044 - Bug 1466782 follow-up: fix incorrect 'unread column' name. r=alta88
mailnews/base/src/nsMsgDBView.cpp
--- a/mailnews/base/src/nsMsgDBView.cpp
+++ b/mailnews/base/src/nsMsgDBView.cpp
@@ -1969,17 +1969,17 @@ nsMsgDBView::GetCellValue(int32_t aRow,
                             u"messageExpanded" :
                             u"messageCollapsed"));
             aValue.Assign(tmp_str);
           }
         }
       }
       break;
     case 'u':
-      if (colID.EqualsLiteral("unreadCol") &&
+      if (colID.EqualsLiteral("unreadButtonColHeader") &&
           !(flags & nsMsgMessageFlags::Read))
       {
         nsString tmp_str;
         tmp_str.Adopt(GetString(u"messageUnread"));
         aValue.Assign(tmp_str);
       }
       break;
     default: