diff options
author | V. Guruprasad <prasad@inspiredresearch.com> | 2022-09-22 12:45:10 -0400 |
---|---|---|
committer | V. Guruprasad <prasad@inspiredresearch.com> | 2022-09-22 12:46:53 -0400 |
commit | ba61e02eca9ef2377606222930c7cfb29944948b (patch) | |
tree | d299b1baf7b1c55e856e753eeaff6cb80c23c728 | |
parent | 9bed48359f34f5a4a29725d38cece30d1d3d528c (diff) |
return to last active sheet on open
-rw-r--r-- | src/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -625,6 +625,8 @@ void write_fd(FILE * f, struct roman * doc) { sh = sh->next; } + if (doc->cur_sh != NULL) + fprintf (f, "movetosheet \"%s\"\n", doc->cur_sh->name); // write marks of document write_marks(f); |