Skip to content

Commit

Permalink
[core] more semantically correct syntax
Browse files Browse the repository at this point in the history
as suggested by pcanal
  • Loading branch information
ferdymercury authored and guitargeek committed Nov 29, 2024
1 parent 056e5cf commit 172fcfb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions core/base/src/TSystem.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -4317,10 +4317,13 @@ TString TSystem::SplitAclicMode(const char *filename, TString &aclicMode,
arguments = "";
delete []fname;
return "";
} else if (s2 && s2 > fname) {
s2--;
while (s2 > fname && *s2 == ' ') s2--;
s2++;
} else if (s2) {
if (s2 > fname) {
// Skip/trim spaces
s2--;
while (s2 > fname && *s2 == ' ') s2--;
s2++;
}
io = s2; // ssave = *s2;
*s2 = 0;
} else
Expand Down

0 comments on commit 172fcfb

Please sign in to comment.