From d8f3f1c9e36cebbb97d8491edce9f865c0ccc166 Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Thu, 6 Feb 2003 23:20:15 +0000 Subject: [PATCH] fix from Parise for ETC_PATH --- panda/src/chancfg/chancfg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/chancfg/chancfg.cxx b/panda/src/chancfg/chancfg.cxx index 382fd3100e..38807d1d8a 100644 --- a/panda/src/chancfg/chancfg.cxx +++ b/panda/src/chancfg/chancfg.cxx @@ -114,7 +114,8 @@ static void ReadChanConfigData(void) { ResetSetup(); ResetWindow(); - DSearchPath path(chanconfig.GetString("ETC_PATH", ".")); + DSearchPath path = + Filename::from_os_specific(chanconfig.GetString("ETC_PATH", ".")); string layoutdbfilename = chanconfig.GetString("layout-db-file","layout_db"); string windowdbfilename = chanconfig.GetString("window-db-file","window_db");