Terminal: renamed some variables for clarity.
* Unless they really have no meaning beyond serving as an index, you should avoid naming your variables just i, j, k, l.
This commit is contained in:
parent
52e43a20be
commit
fa89878a70
@ -236,12 +236,12 @@ TermWindow::TermWindow(const BString& title, Arguments* args)
|
|||||||
SetWorkspaces(workspaces);
|
SetWorkspaces(workspaces);
|
||||||
} else {
|
} else {
|
||||||
// use computed defaults
|
// use computed defaults
|
||||||
int i = id / 16;
|
int row = id / 16;
|
||||||
int j = id % 16;
|
int column = id % 16;
|
||||||
int k = (j * 16) + (i * 64) + 50;
|
int x = (column * 16) + (row * 64) + 50;
|
||||||
int l = (j * 16) + 50;
|
int y = (column * 16) + 50;
|
||||||
|
|
||||||
MoveTo(k, l);
|
MoveTo(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
// init the GUI and add a tab
|
// init the GUI and add a tab
|
||||||
|
Loading…
Reference in New Issue
Block a user