mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
Package.cpp: fix comment position and a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25818 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0e18507df7
commit
2f2886b094
@ -462,6 +462,8 @@ get_system_support_dir(FileName const & abs_binary,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 2. Use the "LYX_DIR_16x" environment variable.
|
// 2. Use the "LYX_DIR_16x" environment variable.
|
||||||
|
// FIXME We need to iherit the actual version number from elsewhere
|
||||||
|
// otherwise we will forget to update this for new major releases
|
||||||
path = extract_env_var_dir("LYX_DIR_16x");
|
path = extract_env_var_dir("LYX_DIR_16x");
|
||||||
if (!path.empty()) {
|
if (!path.empty()) {
|
||||||
searched_dirs.push_back(path);
|
searched_dirs.push_back(path);
|
||||||
@ -578,8 +580,6 @@ bool userSupportDir(FileName const & default_user_support_dir,
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
// 2. Use the LYX_USERDIR_16x environment variable.
|
// 2. Use the LYX_USERDIR_16x environment variable.
|
||||||
// FIXME We need to iherit the atual version number from elsewhere other-
|
|
||||||
// wise we will forget to update this for new major releases
|
|
||||||
result = extract_env_var_dir("LYX_USERDIR_16x");
|
result = extract_env_var_dir("LYX_USERDIR_16x");
|
||||||
if (!result.empty())
|
if (!result.empty())
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user