fix regression: sel_or_clip filename not updated in merge_file() and in save_selection(). Fixed commit `copy between windows: allow to navigate between more than 2 windows`
This commit is contained in:
parent
c07871d4ee
commit
54e446dbc2
|
|
@ -330,6 +330,8 @@ void merge_file(int selection_load, const char ext[])
|
|||
my_snprintf(name, S(name), "%s/.clipboard.sch", user_conf_dir);
|
||||
}
|
||||
|
||||
my_snprintf(sel_or_clip, S(sel_or_clip), name);
|
||||
|
||||
if(is_generator(name)) generator = 1;
|
||||
|
||||
if(generator) {
|
||||
|
|
|
|||
|
|
@ -4888,6 +4888,8 @@ void save_selection(int what)
|
|||
else /* what=2 */
|
||||
my_snprintf(name, S(name), "%s/%s.sch",user_conf_dir , ".clipboard");
|
||||
|
||||
my_snprintf(sel_or_clip, S(sel_or_clip), name);
|
||||
|
||||
if(!(fd=fopen(name,"w")))
|
||||
{
|
||||
fprintf(errfp, "save_selection(): problems opening file %s \n", name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue