Oops, that's why tooltips weren't working right: I had inverted a test in tabledispinfo.cpp. Fixed.

This commit is contained in:
Pietro Gagliardi 2018-06-16 12:52:16 -04:00
parent bcab521311
commit d63af885ba
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ static HRESULT handleLVIF_TEXT(uiTable *t, NMLVDISPINFOW *nm, uiprivTableColumnP
if ((nm->item.mask & LVIF_TEXT) == 0)
return S_OK;
if (p->textModelColumn != -1)
if (p->textModelColumn == -1)
return S_OK;
data = (*(t->model->mh->CellValue))(t->model->mh, t->model, nm->item.iItem, p->textModelColumn);