|
a/src/main.cxx |
|
b/src/main.cxx |
|
... |
|
... |
292 |
ohmetapersist = atoi(value.c_str()) != 0;
|
292 |
ohmetapersist = atoi(value.c_str()) != 0;
|
293 |
}
|
293 |
}
|
294 |
if (g_config->get("pkgdatadir", g_datadir)) {
|
294 |
if (g_config->get("pkgdatadir", g_datadir)) {
|
295 |
path_catslash(g_datadir);
|
295 |
path_catslash(g_datadir);
|
296 |
iconpath = path_cat(g_datadir, "icon.png");
|
296 |
iconpath = path_cat(g_datadir, "icon.png");
|
|
|
297 |
if (!path_exists(iconpath)) {
|
|
|
298 |
iconpath.clear();
|
|
|
299 |
}
|
297 |
presentationhtml = path_cat(g_datadir, "presentation.html");
|
300 |
presentationhtml = path_cat(g_datadir, "presentation.html");
|
298 |
}
|
301 |
}
|
299 |
g_config->get("iconpath", iconpath);
|
302 |
g_config->get("iconpath", iconpath);
|
300 |
g_config->get("presentationhtml", presentationhtml);
|
303 |
g_config->get("presentationhtml", presentationhtml);
|
301 |
g_config->get("cachedir", cachedir);
|
304 |
g_config->get("cachedir", cachedir);
|