diff options
author | pommicket <pommicket@gmail.com> | 2023-08-27 19:30:07 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-27 19:30:07 -0400 |
commit | 8cfcfb6309c0399c3e5e491695086d4723bfbc72 (patch) | |
tree | 3e5b60381abae2fb3704ce37e34d8e1ca85cf096 /main.c | |
parent | f999900e3a1cf54b57fe051f248dae56f31f8b7c (diff) |
disambiguate between files with the same name
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -818,7 +818,7 @@ int main(int argc, char **argv) { if (buffer_settings(active_buffer)->auto_reload) buffer_reload(active_buffer); else { - strbuf_cpy(ted->ask_reload, buffer_display_filename(active_buffer)); + buffer_display_filename(active_buffer, ted->ask_reload, sizeof ted->ask_reload); menu_open(ted, MENU_ASK_RELOAD); } } |