mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Correct typo: initiate -> initialize
Change-Id: I2282bf4df87094679135176555ac18d9678de0b4
This commit is contained in:
@@ -126,7 +126,7 @@ void Controller::tableViewDidChangeSelection(SelectableTableView * t, int previo
|
||||
/* To prevent the selectable table view to select cells that are unvisible,
|
||||
* we reselect the previous selected cell as soon as the selected cell is
|
||||
* unvisible. This trick does not create an endless loop as we ensure not to
|
||||
* stay on a unvisible cell and to initiate the first cell on a visible one
|
||||
* stay on a unvisible cell and to initialize the first cell on a visible one
|
||||
* (so the previous one is always visible). */
|
||||
int appIndex = (t->selectedRow()*k_numberOfColumns+t->selectedColumn())+1;
|
||||
if (appIndex >= m_container->numberOfApps()) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
/* TODO: find a shorter way to initiate tree models
|
||||
/* TODO: find a shorter way to initialize tree models
|
||||
* We create one model tree: each node keeps the label of the row it refers to
|
||||
* and the text which would be edited by clicking on the row. When the node is a
|
||||
* subtree, the edited text is set at I18n::Message::Default. */
|
||||
|
||||
@@ -75,7 +75,7 @@ KDRect View::redraw(KDRect rect, KDRect forceRedrawRect) {
|
||||
ctx->setClippingRect(absClippingRect);
|
||||
this->drawRect(ctx, rectNeedingRedraw);
|
||||
}
|
||||
// This initiates the area that has been redrawn.
|
||||
// This initializes the area that has been redrawn.
|
||||
KDRect redrawnArea = rectNeedingRedraw;
|
||||
|
||||
// Then, let's recursively draw our children over ourself
|
||||
|
||||
@@ -53,7 +53,7 @@ Evaluation<T> * Derivative::templatedEvaluate(Context& context, AngleUnit angleU
|
||||
* - Ridders, C.J.F. 1982, Advances in Engineering Software, vol. 4, no. 2,
|
||||
* pp. 75–76. */
|
||||
|
||||
// Initiate hh
|
||||
// Initialize hh
|
||||
T h = std::fabs(x) < min ? k_minInitialRate : x/1000;
|
||||
T f2 = approximateDerivate2(x, h, xContext, angleUnit);
|
||||
f2 = std::fabs(f2) < min ? k_minInitialRate : f2;
|
||||
|
||||
Reference in New Issue
Block a user