diff options
author | pommicket <pommicket@gmail.com> | 2022-07-29 14:29:36 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-07-29 14:33:32 -0400 |
commit | ab65fe136f7a8739b78aaa4801a9fb761a301417 (patch) | |
tree | d9193726574c6ed7884562ad2c376bef48905b58 /session.c | |
parent | 00fce97eb96fc2f1c1bfd8daf4f795ff36cf98c0 (diff) |
per-language settings
also fixed ctrl+/ in go
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -168,7 +168,7 @@ static void session_read_file(Ted *ted, FILE *fp) { } static void session_write(Ted *ted) { - Settings const *settings = &ted->settings; + Settings const *settings = ted->settings; if (!settings->restore_session) return; // first we write to a prefixed file so in case something goes wrong we still have the old session. @@ -189,7 +189,7 @@ static void session_write(Ted *ted) { } static void session_read(Ted *ted) { - Settings const *settings = &ted->settings; + Settings const *settings = ted->settings; if (settings->restore_session) { char filename[TED_PATH_MAX]; strbuf_printf(filename, "%s/" SESSION_FILENAME, ted->local_data_dir); |