mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
* editwidget.c (edit): Make edit_dlg local variable.
This commit is contained in:
parent
91f4a75562
commit
e7e6552a03
@ -1,5 +1,7 @@
|
|||||||
2002-09-24 Pavel Roskin <proski@gnu.org>
|
2002-09-24 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* editwidget.c (edit): Make edit_dlg local variable.
|
||||||
|
|
||||||
* editmenu.c (edit_drop_menu_cmd): Don't use edit_dlg variable.
|
* editmenu.c (edit_drop_menu_cmd): Don't use edit_dlg variable.
|
||||||
|
|
||||||
* edit.c: Remove all references to CR_LF_TRANSLATION.
|
* edit.c: Remove all references to CR_LF_TRANSLATION.
|
||||||
|
@ -352,7 +352,6 @@ extern char *home_dir;
|
|||||||
extern int edit_key_emulation;
|
extern int edit_key_emulation;
|
||||||
extern WEdit *wedit;
|
extern WEdit *wedit;
|
||||||
extern Menu EditMenuBar[];
|
extern Menu EditMenuBar[];
|
||||||
extern Dlg_head *edit_dlg;
|
|
||||||
extern WMenu *edit_menubar;
|
extern WMenu *edit_menubar;
|
||||||
|
|
||||||
extern int option_word_wrap_line_length;
|
extern int option_word_wrap_line_length;
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
#include "edit.h"
|
#include "edit.h"
|
||||||
|
|
||||||
WEdit *wedit;
|
WEdit *wedit;
|
||||||
Dlg_head *edit_dlg;
|
|
||||||
WMenu *edit_menubar;
|
WMenu *edit_menubar;
|
||||||
|
|
||||||
int column_highlighting = 0;
|
int column_highlighting = 0;
|
||||||
@ -152,6 +151,7 @@ edit (const char *_file, int line)
|
|||||||
static int made_directory = 0;
|
static int made_directory = 0;
|
||||||
int framed = 0;
|
int framed = 0;
|
||||||
char *text = 0;
|
char *text = 0;
|
||||||
|
Dlg_head *edit_dlg;
|
||||||
WButtonBar *edit_bar;
|
WButtonBar *edit_bar;
|
||||||
|
|
||||||
if (option_backup_ext_int != -1) {
|
if (option_backup_ext_int != -1) {
|
||||||
@ -216,7 +216,6 @@ edit (const char *_file, int line)
|
|||||||
edit_done_menu (); /* editmenu.c */
|
edit_done_menu (); /* editmenu.c */
|
||||||
|
|
||||||
destroy_dlg (edit_dlg);
|
destroy_dlg (edit_dlg);
|
||||||
edit_dlg = NULL;
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user