1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
From: Niklas Fiekas <[email protected]>
Date: Mon, 28 Mar 2016 11:19:48 0200
Subject: debian/patches/fix-typos.patch: Fix typos found by lintian
---
data/help/about1.html | 4 --
data/help/about4.html | 2 -
src/database/databaseinfo.h | 2 -
src/guess/position.cpp | 2 -
4 files changed, 5 insertions( ), 5 deletions(-)
diff --git a/data/help/about1.html b/data/help/about1.html
index 8a38f4b..8c9ee56 100644
--- a/data/help/about1.html
b/data/help/about1.html
@@ -103,7 103,7 @@ instead, you can paint squares and arrows without having to press Shift Right-Mo
<p>Saving games is slightly confusing! A game needs to be saved into the database (Press CTRL S, Menu Game/Save). From there,
the whole database needs to be saved to disk by pressing CTRL Shift S / Menu File/Save. This is somewhat inconvenient but on the other hand prevents
you from mistakenly overwriting games or files.</p>
-<p>If you want to commit a database to harddisk immediatelly and automatically when saving a game, you can select Option "Commit Database
<p>If you want to commit a database to harddisk immediately and automatically when saving a game, you can select Option "Commit Database
after Saving Game" from the Database Pane in the Preferences Dialog.</p>
<p>By default, a clipboard database is open, which does not have a backing file on disk. Anything that remains in the Clipboard is
lost upon closing ChessX! So you need to open at least one other database for writing and transfer anything from the Clipboard
@@ -172,7 172,7 @@ an algorithm, how the GUI shall select moves if several moves are available for
</p>
<h3><a name="Books"></a>Using Books in ChessX</h3>
-<p>Polyglot is a book standard supported by ChessX. The orginal code was licensed under GNU GPL Version 2.0.</p>
<p>Polyglot is a book standard supported by ChessX. The original code was licensed under GNU GPL Version 2.0.</p>
<p>ChessX displays books like any other database in the Opening Tree Browser. Drag a polyglot book (which must have the suffix ".bin")
to the Database List or open the book via menu. Once it is open, it becomes available as any other open database
in the combo box "Source" beneath the opening tree.</p>
diff --git a/data/help/about4.html b/data/help/about4.html
index 13b3028..8b1e2b5 100644
--- a/data/help/about4.html
b/data/help/about4.html
@@ -53,7 53,7 @@ Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
- as the successor of the GNU Library Public License, version 2, hence
as the successor of the GNU Library General Public License, version 2, hence
the version number 2.1.]
</pre>
diff --git a/src/database/databaseinfo.h b/src/database/databaseinfo.h
index 446240e..076e58f 100644
--- a/src/database/databaseinfo.h
b/src/database/databaseinfo.h
@@ -138,7 138,7 @@ signals:
public slots:
void dbCleanChanged(bool);
- void setModified(bool modfied, const Game &g, QString action);
void setModified(bool modified, const Game &g, QString action);
private:
QUndoStack* m_undoStack;
diff --git a/src/guess/position.cpp b/src/guess/position.cpp
index 1007272..da59293 100644
--- a/src/guess/position.cpp
b/src/guess/position.cpp
@@ -2593,7 2593,7 @@ Position::IsLegal(void) const
squareT enemyKing = GetEnemyKingSquare();
if (!(stmKing <= H8 && enemyKing <= H8))
{
- printf("Kings mssing\n");
printf("Kings missing\n");
return false;
}
if(square_Adjacent(stmKing, enemyKing))
|