We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07a3921 commit 8b2ebe5Copy full SHA for 8b2ebe5
1 file changed
libs/common/src/getExecutablePath.cpp
@@ -124,16 +124,16 @@ std::string getExecutablePath()
124
#elif(BOOST_OS_HAIKU)
125
std::string getExecutablePath()
126
{
127
- std::string ret;
128
- int32 cookie = 0;
129
- image_info info;
130
- while (get_next_image_info(B_CURRENT_TEAM, &cookie, &info) == B_OK)
131
- {
132
- if (info.type == B_APP_IMAGE)
133
134
- ret = info.name;
135
- }
136
+ std::string ret;
+ int32 cookie = 0;
+ image_info info;
+ while(get_next_image_info(B_CURRENT_TEAM, &cookie, &info) == B_OK)
+ {
+ if(info.type == B_APP_IMAGE)
+ ret = info.name;
+ }
137
return ret;
138
}
139
0 commit comments