mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 05:36:22 +08:00
updated pluging loader for Windows #4313
This commit is contained in:
@@ -168,6 +168,17 @@ findReplaceAll(
|
||||
}
|
||||
}
|
||||
|
||||
String
|
||||
removeFileExt(String filename)
|
||||
{
|
||||
unsigned dot = filename.find_last_of('.');
|
||||
|
||||
if (dot == String::npos) {
|
||||
return filename;
|
||||
}
|
||||
|
||||
return filename.substr(0, dot);
|
||||
}
|
||||
|
||||
//
|
||||
// CaselessCmp
|
||||
|
||||
Reference in New Issue
Block a user