summaryrefslogtreecommitdiff
path: root/games-util/dfhack/files/dfhack-0.40.06_pre20140808/11-debugging.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/dfhack/files/dfhack-0.40.06_pre20140808/11-debugging.patch')
-rw-r--r--games-util/dfhack/files/dfhack-0.40.06_pre20140808/11-debugging.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-util/dfhack/files/dfhack-0.40.06_pre20140808/11-debugging.patch b/games-util/dfhack/files/dfhack-0.40.06_pre20140808/11-debugging.patch
new file mode 100644
index 00000000..80848422
--- /dev/null
+++ b/games-util/dfhack/files/dfhack-0.40.06_pre20140808/11-debugging.patch
@@ -0,0 +1,22 @@
+debugging
+
+From: eroen <eroen@occam.eroen.eu>
+
+
+---
+ library/Core.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/library/Core.cpp b/library/Core.cpp
+index 8906f85..dd5725d 100644
+--- a/library/Core.cpp
++++ b/library/Core.cpp
+@@ -400,6 +400,8 @@ static bool try_autocomplete(color_ostream &con, const std::string &first, std::
+ }
+
+ string findScript(string path, string name) {
++ cerr << "findScript(" << path << ", " << name << std::endl;
++
+ if (df::global::world) {
+ //first try the save folder if it exists
+ string save = World::ReadWorldFolder();