]> source.dussan.org Git - tigervnc.git/commitdiff
Should return FALSE; not NULL
authorPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 10:40:39 +0000 (10:40 +0000)
committerPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 10:40:39 +0000 (10:40 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3357 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/rfb_win32/ListViewControl.cxx

index 12e04003aa770f83ca107f32b91c8585849ab3fd..bd375e260837e156bc3cedd8bd8249b2f14ecc90 100644 (file)
@@ -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(