Skip to content

Commit a90fa63

Browse files
authored
path.cpp: format fix
1 parent 78832fe commit a90fa63

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

lib/path.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,16 @@ std::string Path::getCurrentExecutablePath(const char* fallback)
162162
uint32_t size = sizeof(buf);
163163
success = (_NSGetExecutablePath(buf, &size) == 0);
164164
#elif defined(__HAIKU__)
165-
int32 cookie = 0;
166-
image_info info;
167-
while (get_next_image_info(B_CURRENT_TEAM, &cookie, &info) == B_OK)
168-
{
169-
if (info.type == B_APP_IMAGE)
170-
{
171-
break;
172-
}
173-
}
174-
return std::string(info.name);
165+
int32 cookie = 0;
166+
image_info info;
167+
while (get_next_image_info(B_CURRENT_TEAM, &cookie, &info) == B_OK)
168+
{
169+
if (info.type == B_APP_IMAGE)
170+
{
171+
break;
172+
}
173+
}
174+
return std::string(info.name);
175175
#else
176176
const char* procPath =
177177
#ifdef __SVR4 // Solaris

0 commit comments

Comments
 (0)