summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbTk/Directory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Directory.cc b/src/FbTk/Directory.cc
index 1f2ac7d..30a2a9f 100644
--- a/src/FbTk/Directory.cc
+++ b/src/FbTk/Directory.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Directory.cc,v 1.3 2004/04/19 18:09:15 fluxgen Exp $ 22// $Id: Directory.cc,v 1.4 2004/04/26 10:17:09 fluxgen Exp $
23 23
24#include "Directory.hh" 24#include "Directory.hh"
25 25
@@ -60,7 +60,7 @@ std::string Directory::readFilename() {
60void Directory::close() { 60void Directory::close() {
61 if (m_dir != 0) { 61 if (m_dir != 0) {
62 closedir(m_dir); 62 closedir(m_dir);
63 m_name.clear(); 63 m_name = "";
64 m_dir = 0; 64 m_dir = 0;
65 m_num_entries = 0; 65 m_num_entries = 0;
66 } 66 }