mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Fix 2 typos.
This commit is contained in:
parent
b337b8f7de
commit
679c08c314
@ -1075,7 +1075,7 @@ String String::path_get_basename() const {
|
||||
}
|
||||
|
||||
int ssind = _size - 1;
|
||||
while (ssind > 0 && (_data[ssind] != '/' || _data[ssind] != '\\')) {
|
||||
while (ssind > 0 && (_data[ssind] != '/' && _data[ssind] != '\\')) {
|
||||
--ssind;
|
||||
}
|
||||
|
||||
@ -1103,7 +1103,7 @@ String String::path_get_last_segment() const {
|
||||
}
|
||||
|
||||
int ssind = seind - 1;
|
||||
while (ssind > 0 && (_data[ssind] != '/' || _data[ssind] != '\\')) {
|
||||
while (ssind > 0 && (_data[ssind] != '/' && _data[ssind] != '\\')) {
|
||||
--ssind;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user