manage path routines

This commit is contained in:
Garux
2021-01-22 02:21:54 +03:00
parent b0e62198ba
commit d734199601
18 changed files with 50 additions and 98 deletions

View File

@@ -67,9 +67,7 @@ class RemapKeysObserver : public Entity::Observer, public ModelSkin
const char* split = strchr( value, ';' );
if( split != nullptr ){
m_from = { value, split };
StringOutputStream stream( 64 );
stream << PathCleaned( split + 1 );
m_to = stream.c_str();
m_to = StringOutputStream( 64 )( PathCleaned( split + 1 ) ).c_str();
}
else{
m_from = "";