* user.h: Don't include edit/edit-widget.h.
* user.c: Include edit/edit-widget.h and edit/edit.h.
Этот коммит содержится в:
родитель
18de4488e3
Коммит
e0e20526b2
@ -1,5 +1,8 @@
|
|||||||
2002-11-28 Pavel Roskin <proski@gnu.org>
|
2002-11-28 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* user.h: Don't include edit/edit-widget.h.
|
||||||
|
* user.c: Include edit/edit-widget.h and edit/edit.h.
|
||||||
|
|
||||||
* slint.c (getch): Return -1, not SLANG_GETKEY_ERROR, otherwise
|
* slint.c (getch): Return -1, not SLANG_GETKEY_ERROR, otherwise
|
||||||
get_key_code() crashes when calling isalpha().
|
get_key_code() crashes when calling isalpha().
|
||||||
|
|
||||||
|
@ -32,6 +32,9 @@
|
|||||||
#include "user.h"
|
#include "user.h"
|
||||||
#include "layout.h"
|
#include "layout.h"
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
#include "edit/edit.h" /* BLOCK_FILE */
|
||||||
|
#include "edit/edit-widget.h" /* WEdit */
|
||||||
#include "../vfs/vfs.h"
|
#include "../vfs/vfs.h"
|
||||||
|
|
||||||
/* For the simple listbox manager */
|
/* For the simple listbox manager */
|
||||||
@ -170,7 +173,7 @@ strip_ext(char *ss)
|
|||||||
}
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
expand_format (WEdit * edit_widget, char c, int quote)
|
expand_format (struct WEdit *edit_widget, char c, int quote)
|
||||||
{
|
{
|
||||||
WPanel *panel;
|
WPanel *panel;
|
||||||
char *(*quote_func) (const char *, int);
|
char *(*quote_func) (const char *, int);
|
||||||
@ -665,7 +668,8 @@ menu_file_own(char* path)
|
|||||||
* If edit_widget is NULL then we are called from the mc menu,
|
* If edit_widget is NULL then we are called from the mc menu,
|
||||||
* otherwise we are called from the mcedit menu.
|
* otherwise we are called from the mcedit menu.
|
||||||
*/
|
*/
|
||||||
void user_menu_cmd (WEdit *edit_widget)
|
void
|
||||||
|
user_menu_cmd (struct WEdit *edit_widget)
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
char *data, **entries;
|
char *data, **entries;
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
#define __USER_H
|
#define __USER_H
|
||||||
|
|
||||||
#include "panel.h"
|
#include "panel.h"
|
||||||
#include "edit/edit-widget.h"
|
|
||||||
|
|
||||||
void user_menu_cmd (WEdit *edit_widget);
|
struct WEdit;
|
||||||
char *expand_format (WEdit *edit_widget, char c, int quote);
|
void user_menu_cmd (struct WEdit *edit_widget);
|
||||||
|
char *expand_format (struct WEdit *edit_widget, char c, int quote);
|
||||||
int check_format_view (const char *);
|
int check_format_view (const char *);
|
||||||
int check_format_var (const char *, char **);
|
int check_format_var (const char *, char **);
|
||||||
int check_format_cd (const char *);
|
int check_format_cd (const char *);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user