* No need to create a BPath object for the leaf name in CreateAppMetaMimeThread.
* The preferred application is now written with the case preserved. This fixes bug #635. * Minor cleanup. * BApplication::_InitData() now also corrects a pre-registered application signature if the case is different. Note, however, that the application watching mechanism doesn't seem to work correctly with this, maybe sending out those should be postponed until the registration is completed? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17836 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -330,8 +330,8 @@ BApplication::_InitData(const char *signature, bool initGUI, status_t *_error)
|
||||
fMsgPort = appInfo.port;
|
||||
} else
|
||||
appInfo.port = fMsgPort;
|
||||
// check the signature and correct it, if necessary
|
||||
if (strcasecmp(appInfo.signature, fAppName))
|
||||
// check the signature and correct it, if necessary, also the case
|
||||
if (strcmp(appInfo.signature, fAppName))
|
||||
BRoster::Private().SetSignature(team, fAppName);
|
||||
// complete the registration
|
||||
fInitError = BRoster::Private().CompleteRegistration(team, thread,
|
||||
|
||||
Reference in New Issue
Block a user