diff --git a/src/g_editor.c b/src/g_editor.c index 6a5c3d925eecf3ca0bb2a7c6d11e2775e5803644..6dbb8fddb11348f5d6c723084cc66cd3858b7626 100644 --- a/src/g_editor.c +++ b/src/g_editor.c @@ -2873,7 +2873,7 @@ void canvas_doclick(t_canvas *x, int xpos, int ypos, int which, canvas_setcursor(x, CURSOR_EDITMODE_NOTHING); if (doit) { - if (!shiftmod && x->gl_editor->e_selection) { + if (!shiftmod && (x->gl_editor->e_selection || x->gl_editor->e_selectedline)) { //t_undo_redo_sel *buf = (t_undo_redo_sel *)getbytes(sizeof(*buf)); //buf->u_undo = (t_undo_sel *)canvas_undo_set_selection(x); diff --git a/src/s_path.c b/src/s_path.c index f25aef59a045614a837a2e271f4c45b72604b2dc..a96e5f52c4ce7631ba1dae82553d1cac145da09f 100644 --- a/src/s_path.c +++ b/src/s_path.c @@ -213,8 +213,6 @@ char *namelist_get(t_namelist *namelist, int n) return (nl ? nl->nl_string : 0); } -static t_namelist *pd_extrapath; - int sys_usestdpath = 1; void sys_setextrapath(const char *p) diff --git a/src/s_stuff.h b/src/s_stuff.h index 8c77f850b00089fdeede5d53d84cbf060e74ce81..0ec5be662068faca79cc5c288e7b88153fc4d63c 100644 --- a/src/s_stuff.h +++ b/src/s_stuff.h @@ -15,6 +15,7 @@ typedef struct _namelist /* element in a linked list of stored strings */ char *nl_string; /* the string */ } t_namelist; +t_namelist *pd_extrapath; t_namelist *namelist_append(t_namelist *listwas, const char *s, int allowdup); t_namelist *namelist_append_files(t_namelist *listwas, const char *s); void namelist_free(t_namelist *listwas);