mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-31 12:12:57 +03:00
* editcmd.c (canonicalize_pathname) [GTK]: Make the argument
constant. (edit_split_filename) [GTK]: Make the second argument constant to match the declaration.
This commit is contained in:
parent
85e1a9472d
commit
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user