diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-10 10:40:39 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-10 10:40:39 +0000 |
commit | 8da9130ff315dd71d64e20fd341297a07c325f8d (patch) | |
tree | abd7ecd23f902c21b2102d056cf74296e2a19b33 /win | |
parent | d8cc364966d5354ade4085100e89d0c036cf7b64 (diff) | |
download | tigervnc-8da9130ff315dd71d64e20fd341297a07c325f8d.tar.gz tigervnc-8da9130ff315dd71d64e20fd341297a07c325f8d.zip |
Should return FALSE; not NULL
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3357 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r-- | win/rfb_win32/ListViewControl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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( |