summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-04-26 10:17:09 (GMT)
committerfluxgen <fluxgen>2004-04-26 10:17:09 (GMT)
commitae8406cd3eca05b5ad4fb742256353581c345b64 (patch)
treea610dbcebb6bd543859082a4407179502b4ac854
parent771bc75f86f7e3b03c70eea2f6c2629742998a20 (diff)
downloadfluxbox_lack-ae8406cd3eca05b5ad4fb742256353581c345b64.zip
fluxbox_lack-ae8406cd3eca05b5ad4fb742256353581c345b64.tar.bz2
fixe for old compiler
-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 }