* editcmd.c (canonicalize_pathname) [GTK]: Make the argument
constant. (edit_split_filename) [GTK]: Make the second argument constant to match the declaration.
Этот коммит содержится в:
родитель
85e1a9472d
Коммит
739edc1780
@ -1,3 +1,10 @@
|
||||
2000-09-30 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editcmd.c (canonicalize_pathname) [GTK]: Make the argument
|
||||
constant.
|
||||
(edit_split_filename) [GTK]: Make the second argument constant
|
||||
to match the declaration.
|
||||
|
||||
2000-10-30 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* editcmd.c (edit_save_file): better error handling on writting
|
||||
|
@ -439,7 +439,7 @@ void edit_split_filename (WEdit * edit, const char *f)
|
||||
|
||||
static char cwd[1040];
|
||||
|
||||
static char *canonicalize_pathname (char *p)
|
||||
static char *canonicalize_pathname (const char *p)
|
||||
{
|
||||
char *q, *r;
|
||||
|
||||
@ -494,7 +494,7 @@ static char *canonicalize_pathname (char *p)
|
||||
#endif /* GTK */
|
||||
|
||||
|
||||
void edit_split_filename (WEdit * edit, char *longname)
|
||||
void edit_split_filename (WEdit * edit, const char *longname)
|
||||
{
|
||||
char *exp, *p;
|
||||
#ifdef GTK
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user