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:
Axel Dörfler 2015-09-03 20:01:26 +02:00
parent 52e43a20be
commit fa89878a70

View File

@ -236,12 +236,12 @@ TermWindow::TermWindow(const BString& title, Arguments* args)
SetWorkspaces(workspaces);
} else {
// use computed defaults
int i = id / 16;
int j = id % 16;
int k = (j * 16) + (i * 64) + 50;
int l = (j * 16) + 50;
int row = id / 16;
int column = id % 16;
int x = (column * 16) + (row * 64) + 50;
int y = (column * 16) + 50;
MoveTo(k, l);
MoveTo(x, y);
}
// init the GUI and add a tab