From 7e0b37e06c71dc96d68f3352ecd2c799caaaf8ec Mon Sep 17 00:00:00 2001 From: oy Date: Fri, 24 Sep 2010 13:38:03 +0200 Subject: fixed that it checks the current dir for demos too --- src/game/editor/ed_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/editor/ed_editor.cpp') 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; -- cgit 1.4.1