1
0
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:
Jfreegman
2014-06-03 02:02:24 -04:00
parent f9e15cd60b
commit c2dce960b8
6 changed files with 116 additions and 50 deletions

View File

@ -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;