From f68661bb9caa0db2c6eb63e04ae102d492d000c0 Mon Sep 17 00:00:00 2001 From: Ged Murphy Date: Thu, 23 Aug 2007 15:23:10 +0000 Subject: [PATCH] add new file to rbuild file and fix gcc complaints svn path=/trunk/; revision=28474 --- reactos/base/applications/mscutils/servman/propsheet.c | 4 ++-- reactos/base/applications/mscutils/servman/query.c | 2 +- reactos/base/applications/mscutils/servman/servman.rbuild | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/reactos/base/applications/mscutils/servman/propsheet.c b/reactos/base/applications/mscutils/servman/propsheet.c index 4c1766a6d7d..05df267e202 100644 --- a/reactos/base/applications/mscutils/servman/propsheet.c +++ b/reactos/base/applications/mscutils/servman/propsheet.c @@ -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, diff --git a/reactos/base/applications/mscutils/servman/query.c b/reactos/base/applications/mscutils/servman/query.c index aafec217529..72bcb7ebb60 100644 --- a/reactos/base/applications/mscutils/servman/query.c +++ b/reactos/base/applications/mscutils/servman/query.c @@ -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; diff --git a/reactos/base/applications/mscutils/servman/servman.rbuild b/reactos/base/applications/mscutils/servman/servman.rbuild index 70f08af3917..6d9d8990286 100644 --- a/reactos/base/applications/mscutils/servman/servman.rbuild +++ b/reactos/base/applications/mscutils/servman/servman.rbuild @@ -25,6 +25,7 @@ progress.c propsheet.c query.c + reg.c servman.c start.c stop.c