mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-30 03:56:45 +02:00
add setting to allow specified download path & some fixes
This commit is contained in:
@ -233,7 +233,7 @@ void mv_curs_end(WINDOW *w, size_t len, int max_y, int max_x)
|
||||
}
|
||||
|
||||
/* gets base file name from path or original file name if no path is supplied */
|
||||
void get_file_name(uint8_t *pathname, uint8_t *namebuf)
|
||||
void get_file_name(uint8_t *namebuf, uint8_t *pathname)
|
||||
{
|
||||
int idx = strlen(pathname) - 1;
|
||||
|
||||
|
Reference in New Issue
Block a user