Fix SetWorkDir
This commit is contained in:
@@ -693,9 +693,11 @@ void CMD_SetWorkDir() {
|
|||||||
BSet main = GetBSet(LastActiveLayoutWindowID);
|
BSet main = GetBSet(LastActiveLayoutWindowID);
|
||||||
WorkDir = GetDir(main.buffer);
|
WorkDir = GetDir(main.buffer);
|
||||||
For (Buffers) {
|
For (Buffers) {
|
||||||
|
if (it->special) {
|
||||||
String name = SkipToLastSlash(it->name);
|
String name = SkipToLastSlash(it->name);
|
||||||
it->name = Intern(&GlobalInternTable, Format(scratch, "%S/%S", WorkDir, name));
|
it->name = Intern(&GlobalInternTable, Format(scratch, "%S/%S", WorkDir, name));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} RegisterCommand(CMD_SetWorkDir, "");
|
} RegisterCommand(CMD_SetWorkDir, "");
|
||||||
|
|
||||||
String Coro_OpenCodeDir;
|
String Coro_OpenCodeDir;
|
||||||
|
|||||||
Reference in New Issue
Block a user