Correct typo: initiate -> initialize

Change-Id: I2282bf4df87094679135176555ac18d9678de0b4
This commit is contained in:
Émilie Feral
2017-08-17 16:34:19 +02:00
parent 0a2a507b9d
commit c189876673
4 changed files with 4 additions and 4 deletions

View File

@@ -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()) {

View File

@@ -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. */

View File

@@ -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

View File

@@ -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. 7576. */
// 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;