Minor fix for JAM move
This commit is contained in:
parent
dafcf5dabe
commit
4b93c0f0b8
@ -695,6 +695,7 @@ char *edit_jam(int y, int x, int l, char *line, char *help)
|
||||
* Old and new paths did exist and are different.
|
||||
* Test if we are doing a message base move.
|
||||
*/
|
||||
working(5, 0, 0);
|
||||
from = calloc(PATH_MAX, sizeof(char));
|
||||
too = calloc(PATH_MAX, sizeof(char));
|
||||
sprintf(from, "%s.jhr", line);
|
||||
@ -753,6 +754,7 @@ char *edit_jam(int y, int x, int l, char *line, char *help)
|
||||
}
|
||||
free(from);
|
||||
free(too);
|
||||
working(0, 0, 0);
|
||||
} else if (strlen(s) == 0) {
|
||||
/*
|
||||
* If no new path, report
|
||||
|
Reference in New Issue
Block a user