summaryrefslogtreecommitdiffstats
path: root/fifteenapplet
diff options
context:
space:
mode:
Diffstat (limited to 'fifteenapplet')
-rw-r--r--fifteenapplet/fifteenapplet.cpp4
-rw-r--r--fifteenapplet/fifteenapplet.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/fifteenapplet/fifteenapplet.cpp b/fifteenapplet/fifteenapplet.cpp
index 83a45aa..498f93d 100644
--- a/fifteenapplet/fifteenapplet.cpp
+++ b/fifteenapplet/fifteenapplet.cpp
@@ -208,7 +208,7 @@ void PiecesTable::resetMap()
tqrepaint();
}
-void PiecesTable::checkwin()
+void PiecesTable::chectwin()
{
if(!_randomized) return;
@@ -289,7 +289,7 @@ void PiecesTable::mousePressEvent(TQMouseEvent* e)
updateCell(row, col, false);
// check if the player wins with this move
- checkwin();
+ chectwin();
}
}
diff --git a/fifteenapplet/fifteenapplet.h b/fifteenapplet/fifteenapplet.h
index 8cc25c6..e76eecf 100644
--- a/fifteenapplet/fifteenapplet.h
+++ b/fifteenapplet/fifteenapplet.h
@@ -50,7 +50,7 @@ protected:
void initMap();
void initColors();
- void checkwin();
+ void chectwin();
protected slots:
void randomizeMap();