From 5e9712217e05a28e56a7607c096b58bd799de227 Mon Sep 17 00:00:00 2001 From: luca Date: Mon, 3 May 2004 16:04:18 +0000 Subject: [PATCH] Patch level :2.1 32 Files correlati :xvagadll.dll Ricompilazione Demo : [ ] Commento :risolto il problema legato al Ba1 error in fase di installazione moduli; aggiunto il controllo di precedente esistenza della directory nel metodo di creazione della stessa; riportato anche sulla remove directory git-svn-id: svn://10.65.10.50/trunk@12047 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- xvaga/xvaga.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xvaga/xvaga.cpp b/xvaga/xvaga.cpp index 8b4fe61b4..b095ebdc3 100755 --- a/xvaga/xvaga.cpp +++ b/xvaga/xvaga.cpp @@ -4073,11 +4073,15 @@ BOOLEAN xvt_fsys_file_exists(const char *pathname) BOOLEAN xvt_fsys_mkdir(const char *pathname) { + if (wxDirExists(pathname)) + return TRUE; return wxMkdir(pathname); } BOOLEAN xvt_fsys_rmdir(const char *pathname) { + if (wxDirExists(pathname)) + return TRUE; return wxRmdir(pathname); }