* Minor cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36299 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-04-15 15:32:56 +00:00
parent e486a4d0dc
commit 87e256c2e8
+4 -5
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2008, Haiku, Inc. All Rights Reserved.
* Copyright 2006-2010, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
@@ -45,7 +45,7 @@ find_own_image()
extern "C" void
initialize_before()
{
// determine if we have to run in R5 compatibility mode
// determine if we have to run in BeOS compatibility mode
// get image of executable
image_info info;
@@ -60,7 +60,7 @@ initialize_before()
}
// We're using the BeOS startup code, check if BONE libraries are in
// use, and if not, enable the R5 compatibility layer.
// use, and if not, enable the BeOS R5 compatibility layer.
// As dependencies to network libraries may be "hidden" in libraries, we
// may have to scan not only the executable, but every loaded image.
int enable = 0;
@@ -86,6 +86,5 @@ initialize_before()
return;
}
} while (enable == 0
&& get_next_image_info(B_CURRENT_TEAM, (int32 *)&cookie, &info)
== B_OK);
&& get_next_image_info(B_CURRENT_TEAM, (int32*)&cookie, &info) == B_OK);
}