mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-19 09:27:37 +02:00
updated pluging loader for Windows #4313
This commit is contained in:
parent
de8fe7e2a5
commit
1d7eb3f5cb
12 changed files with 180 additions and 48 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue