Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Another bug in CListView::InsertColumn

2009-05-29
2013-05-28
  • Todor Totev
    Todor Totev
    2009-05-29

    I suspect a copy-paste mistake. This code:

    if (-1 !=  iSubItem)
    {
      lvc.mask |= LVCF_SUBITEM;
    ------->  lvc.cx = iSubItem;
    }

    is wrong, it must read

    lvc.iSubItem = iSubItem;

     
    • David
      David
      2009-05-30

      Thanks for pointing this one out.  I've posted a fix for this via SVN.

      Regards,
      David