Fixed converting KMessages, their target and reply info weren't preserved. Fixes bug 295.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16734 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -116,6 +116,14 @@ class BMessage::Private {
|
||||
fMessage->fHeader->reply_team = messengerPrivate.Team();
|
||||
}
|
||||
|
||||
void
|
||||
SetReply(team_id team, port_id port, int32 target)
|
||||
{
|
||||
fMessage->fHeader->reply_port = port;
|
||||
fMessage->fHeader->reply_target = target;
|
||||
fMessage->fHeader->reply_team = team;
|
||||
}
|
||||
|
||||
int32
|
||||
GetTarget()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user