aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/walkthrough.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/walkthrough.cpp b/gui/walkthrough.cpp
index 82c3e4bdfc..b3a7de5eac 100644
--- a/gui/walkthrough.cpp
+++ b/gui/walkthrough.cpp
@@ -59,7 +59,7 @@ static int getNextWordLength(byte *src, int maxLength) {
}
bool WalkthroughDialog::loadWalkthroughText() {
- char filename[MAX_PATH];
+ char filename[260];
File file;
sprintf(filename, "%s.wkt", _gameName);