add new file to rbuild file and fix gcc complaints

svn path=/trunk/; revision=28474
This commit is contained in:
Ged Murphy 2007-08-23 15:23:10 +00:00
parent 122ab0a2bb
commit f68661bb9c
3 changed files with 4 additions and 3 deletions

View file

@ -125,7 +125,7 @@ GetDlgInfo(PMAIN_WND_INFO Info)
(LPARAM)Info->PropSheet->lpDisplayName);
/* set the description */
if (Info->PropSheet->lpDescription = GetDescription(Info->CurrentService->lpServiceName))
if ((Info->PropSheet->lpDescription = GetDescription(Info->CurrentService->lpServiceName)))
{
SendDlgItemMessage(Info->PropSheet->hwndGenDlg,
IDC_DESCRIPTION,
@ -135,7 +135,7 @@ GetDlgInfo(PMAIN_WND_INFO Info)
}
/* set the executable path */
if (Info->PropSheet->lpPathToExe = GetExecutablePath(Info))
if ((Info->PropSheet->lpPathToExe = GetExecutablePath(Info)))
{
SendDlgItemMessage(Info->PropSheet->hwndGenDlg,
IDC_EXEPATH,

View file

@ -153,7 +153,7 @@ RefreshServiceList(PMAIN_WND_INFO Info)
lvItem.iItem = ListView_InsertItem(Info->hListView, &lvItem);
/* set the description */
if (lpDescription = GetDescription(Info->pServiceStatus[Index].lpServiceName))
if ((lpDescription = GetDescription(Info->pServiceStatus[Index].lpServiceName)))
{
lvItem.pszText = lpDescription;
lvItem.iSubItem = 1;

View file

@ -25,6 +25,7 @@
<file>progress.c</file>
<file>propsheet.c</file>
<file>query.c</file>
<file>reg.c</file>
<file>servman.c</file>
<file>start.c</file>
<file>stop.c</file>