1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00
This commit is contained in:
jules 2007-10-16 10:19:26 +00:00
parent 5eea51a781
commit e76fe601bf
3 changed files with 54 additions and 6 deletions

View file

@ -292,9 +292,7 @@ int JUCEApplication::main (int argc, char* argv[],
void JUCEApplication::actionListenerCallback (const String& message)
{
if (message.startsWith (getApplicationName() + "/"))
{
anotherInstanceStarted (message.fromFirstOccurrenceOf (T("/"), false, false));
}
anotherInstanceStarted (message.substring (getApplicationName().length() + 1));
}
//==============================================================================