Skip to content

Commit

Permalink
Further corrections to code style.
Browse files Browse the repository at this point in the history
Co-authored-by: Jérôme Duval <[email protected]>
  • Loading branch information
OscarL and korli authored Nov 26, 2024
1 parent 1692825 commit 78c3b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lpe/lpe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ int main(int argc, char *argv[])
path = argv[i];

err = e.SetTo(path.String());
if (err == B_OK && !e.Exists() && path.FindLast(':'))
if (err == B_OK && !e.Exists() && path.FindLast(':') >= 0)
{
// remove final ':', if any.
if (path[path.Length() - 1] == ':')
Expand Down

0 comments on commit 78c3b3b

Please sign in to comment.