mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 17:29:28 +03:00
Fix coredump with jumps to function definition/declaration
This commit is contained in:
parent
df3926d1c4
commit
dd07d30c0b
@ -3205,6 +3205,7 @@ edit_select_definition_dialog (WEdit * edit, char *match_expr, int max_len, int
|
|||||||
if ( def_dlg->ret_value == B_ENTER ) {
|
if ( def_dlg->ret_value == B_ENTER ) {
|
||||||
char *tmp_curr_def = (char *) curr_def;
|
char *tmp_curr_def = (char *) curr_def;
|
||||||
listbox_get_current (def_list, &curr, &tmp_curr_def);
|
listbox_get_current (def_list, &curr, &tmp_curr_def);
|
||||||
|
curr_def = (etags_hash_t *) tmp_curr_def;
|
||||||
int do_moveto = 0;
|
int do_moveto = 0;
|
||||||
if ( edit->modified ) {
|
if ( edit->modified ) {
|
||||||
if ( !edit_query_dialog2
|
if ( !edit_query_dialog2
|
||||||
|
Loading…
Reference in New Issue
Block a user