From 5a0d8f81a49e5e63d012d90b1be4a13650e6299e Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 19 Jan 2004 18:26:04 +0000 Subject: minor bug fix --- src/FbTk/Resource.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/Resource.cc b/src/FbTk/Resource.cc index 4c56dbb..848f629 100644 --- a/src/FbTk/Resource.cc +++ b/src/FbTk/Resource.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Resource.cc,v 1.4 2003/12/19 18:25:39 fluxgen Exp $ +// $Id: Resource.cc,v 1.5 2004/01/19 18:26:04 fluxgen Exp $ #include "XrmDatabaseHelper.hh" #include "Resource.hh" @@ -34,7 +34,7 @@ namespace FbTk { ResourceManager::ResourceManager(const char *filename, bool lock_db) : m_db_lock(0), m_database(0), - m_filename(filename) + m_filename(filename ? filename : "") { ensureXrmIsInitialize(); -- cgit v0.11.2