* edit.c (edit_init_file): Remove, it's useless. All the
necessary files should be created when needed. * edit.h: Remove declaration of edit_init_file().
Этот коммит содержится в:
родитель
66457d3670
Коммит
2b8b56ddb2
@ -1,3 +1,9 @@
|
|||||||
|
2001-02-26 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* edit.c (edit_init_file): Remove, it's useless. All the
|
||||||
|
necessary files should be created when needed.
|
||||||
|
* edit.h: Remove declaration of edit_init_file().
|
||||||
|
|
||||||
2000-11-01 Andrew V. Samoilov <sav@bcs.zp.ua>
|
2000-11-01 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
* editcmd.c (canonicalize_pathname) [GTK]: memory leaking fixed
|
* editcmd.c (canonicalize_pathname) [GTK]: memory leaking fixed
|
||||||
|
@ -2797,13 +2797,3 @@ void user_menu (WEdit *edit)
|
|||||||
edit->force |= REDRAW_COMPLETELY;
|
edit->force |= REDRAW_COMPLETELY;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void edit_init_file()
|
|
||||||
{
|
|
||||||
FILE *f;
|
|
||||||
|
|
||||||
if ((f = fopen (catstrs (home_dir, ERROR_FILE, 0), "w"))) fclose(f);
|
|
||||||
if ((f = fopen (catstrs (home_dir, BLOCK_FILE, 0), "w"))) fclose(f);
|
|
||||||
if ((f = fopen (catstrs (home_dir, TEMP_FILE, 0) , "w"))) fclose(f);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
@ -458,7 +458,6 @@ void book_mark_inc (WEdit * edit, int line);
|
|||||||
void book_mark_dec (WEdit * edit, int line);
|
void book_mark_dec (WEdit * edit, int line);
|
||||||
|
|
||||||
void user_menu (WEdit *edit);
|
void user_menu (WEdit *edit);
|
||||||
void edit_init_file();
|
|
||||||
|
|
||||||
#ifdef MIDNIGHT
|
#ifdef MIDNIGHT
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user