"Foo\tBar - Baz" should be parsed as title = "Foo", subtitle = "Bar - Baz", not title = "Foo\tBar", subtitle = "- Baz"
This commit is contained in:
@@ -18,7 +18,7 @@ bool NotesLoader::Loadable( const RString &sPath )
|
|||||||
|
|
||||||
void NotesLoader::GetMainAndSubTitlesFromFullTitle( const RString &sFullTitle, RString &sMainTitleOut, RString &sSubTitleOut )
|
void NotesLoader::GetMainAndSubTitlesFromFullTitle( const RString &sFullTitle, RString &sMainTitleOut, RString &sSubTitleOut )
|
||||||
{
|
{
|
||||||
const RString sLeftSeps[] = { " -", " ~", " (", " [", "\t" };
|
const RString sLeftSeps[] = { "\t", " -", " ~", " (", " [" };
|
||||||
|
|
||||||
for( unsigned i=0; i<ARRAYLEN(sLeftSeps); i++ )
|
for( unsigned i=0; i<ARRAYLEN(sLeftSeps); i++ )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user