mirror of https://github.com/MidnightCommander/mc
* editmenu.c (edit_wrap_cmd): Fix declaration.
(edit_about_cmd): Likewise. * editwidget.c (get_key_state): Likewise.
This commit is contained in:
parent
accec2e1c1
commit
ed77566cf2
|
@ -1,5 +1,9 @@
|
||||||
2001-06-15 Pavel Roskin <proski@gnu.org>
|
2001-06-15 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* editmenu.c (edit_wrap_cmd): Fix declaration.
|
||||||
|
(edit_about_cmd): Likewise.
|
||||||
|
* editwidget.c (get_key_state): Likewise.
|
||||||
|
|
||||||
* editcmd.c (edit_quit_cmd): Don't use strcmp on the result of
|
* editcmd.c (edit_quit_cmd): Don't use strcmp on the result of
|
||||||
gtk_dialog_cauldron() since it's NULL if the dialog has been
|
gtk_dialog_cauldron() since it's NULL if the dialog has been
|
||||||
closed without using buttons.
|
closed without using buttons.
|
||||||
|
|
|
@ -56,7 +56,7 @@ static void menu_key (int i)
|
||||||
send_message (wedit->widget.parent, (Widget *) wedit, WIDGET_KEY, i);
|
send_message (wedit->widget.parent, (Widget *) wedit, WIDGET_KEY, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
void edit_wrap_cmd ()
|
void edit_wrap_cmd (void)
|
||||||
{
|
{
|
||||||
char *f;
|
char *f;
|
||||||
char s[12];
|
char s[12];
|
||||||
|
@ -71,7 +71,7 @@ void edit_wrap_cmd ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void edit_about_cmd ()
|
void edit_about_cmd (void)
|
||||||
{
|
{
|
||||||
edit_message_dialog (wedit->mainid, 20, 20, _(" About "),
|
edit_message_dialog (wedit->mainid, 20, 20, _(" About "),
|
||||||
_("\n"
|
_("\n"
|
||||||
|
|
|
@ -1152,7 +1152,7 @@ void edit_labels (WEdit * edit)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
long get_key_state ()
|
long get_key_state (void)
|
||||||
{
|
{
|
||||||
return (long) get_modifier ();
|
return (long) get_modifier ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue