mirror of https://github.com/KLayout/klayout.git
WIP: fixed path generation in db::init in non-Qt case.
This commit is contained in:
parent
18782666f7
commit
772062e33e
|
|
@ -36,6 +36,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <set>
|
#include <set>
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
namespace db
|
namespace db
|
||||||
{
|
{
|
||||||
|
|
@ -133,7 +134,7 @@ void init (const std::vector<std::string> &_paths)
|
||||||
if (paths.empty ()) {
|
if (paths.empty ()) {
|
||||||
std::string module_path = get_module_path ();
|
std::string module_path = get_module_path ();
|
||||||
if (! module_path.empty ()) {
|
if (! module_path.empty ()) {
|
||||||
paths.push_back (module_path);
|
paths.push_back (tl::absolute_path (module_path));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue