From ec000e021476571a4107bc40ef408f0c7497fa49 Mon Sep 17 00:00:00 2001 From: Ayla Date: Wed, 30 Mar 2011 15:44:32 +0200 Subject: [PATCH] Changed an error message, that was displaying "Error:" twice. Plus, it now more meaningful. --- src/filelister.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filelister.cpp b/src/filelister.cpp index b2fa1d3..7fd4343 100644 --- a/src/filelister.cpp +++ b/src/filelister.cpp @@ -73,7 +73,7 @@ void FileLister::browse() if (showDirectories || showFiles) { DIR *dirp; if ((dirp = opendir(path.c_str())) == NULL) { - ERROR("Error: opendir(%s)\n", path.c_str()); + ERROR("Unable to open directory: %s\n", path.c_str()); return; }