From: Peter Åstrand Date: Wed, 10 Dec 2008 10:40:39 +0000 (+0000) Subject: Should return FALSE; not NULL X-Git-Tag: v0.0.90~312 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8da9130ff315dd71d64e20fd341297a07c325f8d;p=tigervnc.git Should return FALSE; not NULL git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3357 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/rfb_win32/ListViewControl.cxx b/win/rfb_win32/ListViewControl.cxx index 12e04003..bd375e26 100644 --- a/win/rfb_win32/ListViewControl.cxx +++ b/win/rfb_win32/ListViewControl.cxx @@ -63,7 +63,7 @@ BOOL ListViewControl::InsertLVItem(DWORD idListView, HWND hDlg, int number, TCH lvI.pszText = texts[0]; if(ListView_InsertItem(GetDlgItem(hDlg, idListView), &lvI) == -1) - return NULL; + return FALSE; for (i =1; i < columns; i++) { SetLVItemText(