about summary refs log tree commit diff
path: root/src/game/editor
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-09-24 13:38:03 +0200
committeroy <Tom_Adams@web.de>2010-09-24 13:38:03 +0200
commit7e0b37e06c71dc96d68f3352ecd2c799caaaf8ec (patch)
treeb76100af28ae1fecb480ff02ae42f24507e92d06 /src/game/editor
parent1cbf731fc0c3cbc5a1d2be6f1af51cb93d9739e2 (diff)
downloadzcatch-7e0b37e06c71dc96d68f3352ecd2c799caaaf8ec.tar.gz
zcatch-7e0b37e06c71dc96d68f3352ecd2c799caaaf8ec.zip
fixed that it checks the current dir for demos too
Diffstat (limited to 'src/game/editor')
-rw-r--r--src/game/editor/ed_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp
index a8e3b832..4b1a10cc 100644
--- a/src/game/editor/ed_editor.cpp
+++ b/src/game/editor/ed_editor.cpp
@@ -2146,9 +2146,9 @@ void CEditor::RenderImages(CUIRect ToolBox, CUIRect ToolBar, CUIRect View)
 }
 
 
-static void EditorListdirCallback(const char *pName, int IsDir, void *pUser)
+static void EditorListdirCallback(const char *pName, int IsDir, int DirType, void *pUser)
 {
-	if(pName[0] == '.' && pName[1] == 0)

+	if(pName[0] == '.' && pName[1] == 0)
 		return;
 
 	CEditor *pEditor = (CEditor*)pUser;