mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Core: Get rid of a few c_str/strlen calls
This commit is contained in:
1 parent
c1084b6b93
commit
cd26b200b2
2 files changed
+3
-3
No files matched your search
@@ -88,7 +88,7 @@ void VirtualDiscFileSystem::LoadFileListIndex() {
|
||||
line = line.substr(3);
|
||||
}
|
||||
|
||||
if (strlen(line.data()) < 1 || line[0] == ';') {
|
||||
if (line.empty() || line[0] == ';') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user