diff options
| author | Francesco Abbate <francesco.bbt@gmail.com> | 2021-12-28 16:01:49 +0100 |
|---|---|---|
| committer | Francesco Abbate <francesco.bbt@gmail.com> | 2021-12-28 16:01:49 +0100 |
| commit | 35f164640de3d5554eafee9e4a06b0d722a27527 (patch) | |
| tree | edbf95073247b32f9a1652b962f9d4ae52bee96c /src/lib/lua52/lmathlib.c | |
| parent | 2cf3c6f7476d891cf3eb548409c109de315b3c6b (diff) | |
| download | lite-xl-fix-bug-removed-project.tar.gz lite-xl-fix-bug-removed-project.zip | |
Check last used project before trying to use itfix-bug-removed-project
When starting the application try to uses the last recently used project
but doesn't check if the directory actually exists.
On windows that's okay because if it doesn't exist core.set_project_dir will
fail and the application will fall back to use the current working directory.
On linux on the other side it may cause an error with dmon because we attempt
to watch a directory that doesn't exist.
We now check that the directory actually exists before trying to use it.
This is an attempt to fix:
https://github.com/lite-xl/lite-xl/issues/774
Diffstat (limited to 'src/lib/lua52/lmathlib.c')
0 files changed, 0 insertions, 0 deletions
