paths can be const

This commit is contained in:
Brad Parker 2018-12-17 09:38:12 -05:00
parent 971591fb9c
commit 4b323a45df

View File

@ -1244,7 +1244,7 @@ static int generic_action_ok_command(enum event_command cmd)
}
/* TO-DO: Localization for errors */
static bool file_copy(char* src_path, char* dst_path, char* msg, size_t size)
static bool file_copy(const char *src_path, const char *dst_path, char *msg, size_t size)
{
RFILE *src, *dst;
int numr, numw;