* Several functions had their results unassigned, fixed.

git-svn-id: trunk@16811 -
This commit is contained in:
sergei 2011-01-25 07:32:39 +00:00
parent 58f37dc952
commit 2b6fea065d
2 changed files with 6 additions and 6 deletions

View File

@ -12003,7 +12003,7 @@ end;
function TreeView_GetRoot(hwnd:hwnd) : HTREEITEM;inline;
begin
TreeView_GetNextItem(hwnd, NIL, TVGN_ROOT);
Result:=TreeView_GetNextItem(hwnd, NIL, TVGN_ROOT);
end;
// Macro 177
@ -12012,7 +12012,7 @@ end;
function TreeView_GetLastVisible(hwnd:hwnd) : HTREEITEM;inline;
begin
TreeView_GetNextItem(hwnd, NIL, TVGN_LASTVISIBLE)
Result:=TreeView_GetNextItem(hwnd, NIL, TVGN_LASTVISIBLE)
end;
// Macro 178

View File

@ -219,17 +219,17 @@ end;
function TComServer.CountObject(Created: Boolean): Integer;
begin
if Created then
InterLockedIncrement(fCountObject)
Result:=InterLockedIncrement(fCountObject)
else
InterLockedDecrement(fCountObject);
Result:=InterLockedDecrement(fCountObject);
end;
function TComServer.CountFactory(Created: Boolean): Integer;
begin
if Created then
InterLockedIncrement(fCountFactory)
Result:=InterLockedIncrement(fCountFactory)
else
InterLockedDecrement(fCountFactory);
Result:=InterLockedDecrement(fCountFactory);
end;
function TComServer.GetHelpFileName: string;