diff options
| author | oy <Tom_Adams@web.de> | 2010-09-24 13:38:03 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-09-24 13:38:03 +0200 |
| commit | 7e0b37e06c71dc96d68f3352ecd2c799caaaf8ec (patch) | |
| tree | b76100af28ae1fecb480ff02ae42f24507e92d06 /src/game/editor | |
| parent | 1cbf731fc0c3cbc5a1d2be6f1af51cb93d9739e2 (diff) | |
| download | zcatch-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.cpp | 4 |
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; |