mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
Replased improper use of NULL with 0 to get rid of warnings
svn path=/trunk/; revision=2538
This commit is contained in:
parent
f32fe94b88
commit
63546989b5
1 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "TASKMGR.h"
|
||||
#include "ApplicationPage.h"
|
||||
|
@ -129,7 +129,7 @@ LRESULT CALLBACK ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam,
|
|||
ApplicationPage_OnSwitchTo();
|
||||
break;
|
||||
case IDC_NEWTASK:
|
||||
SendMessage(hMainWnd, WM_COMMAND, MAKEWPARAM(ID_FILE_NEW, 0), NULL);
|
||||
SendMessage(hMainWnd, WM_COMMAND, MAKEWPARAM(ID_FILE_NEW, 0), 0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -246,7 +246,7 @@ void ApplicationPageRefreshThread(void *lpParameter)
|
|||
*
|
||||
* Should this be EnumDesktopWindows() instead?
|
||||
*/
|
||||
EnumWindows(EnumWindowsProc, NULL);
|
||||
EnumWindows(EnumWindowsProc, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -564,7 +564,7 @@ void ApplicationPageOnNotify(WPARAM wParam, LPARAM lParam)
|
|||
|
||||
case HDN_ITEMCLICK:
|
||||
|
||||
ListView_SortItems(hApplicationPageListCtrl, ApplicationPageCompareFunc, NULL);
|
||||
ListView_SortItems(hApplicationPageListCtrl, ApplicationPageCompareFunc, 0);
|
||||
bSortAscending = !bSortAscending;
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue