_SanitizeIDs(): An off by one error was causing a bug in the terminal window numbering.
Ticket #3372. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32422 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -333,7 +333,7 @@ TermApp::_SanitizeIDs(BMessage* data, uint8* windows, ssize_t length)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
BString id("id-");
|
BString id("id-");
|
||||||
id << i;
|
id << i + 1;
|
||||||
|
|
||||||
team_id team;
|
team_id team;
|
||||||
if (data->FindInt32(id.String(), &team) != B_OK)
|
if (data->FindInt32(id.String(), &team) != B_OK)
|
||||||
|
|||||||
Reference in New Issue
Block a user