mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-30 03:56:45 +02:00
fix window cleanup bugs & give prompt its own cleanup func
This commit is contained in:
@ -213,7 +213,7 @@ void get_file_name(char *namebuf, const char *pathname)
|
||||
filename = tmpname;
|
||||
}
|
||||
|
||||
snprintf(namebuf, MAX_STR_SIZE, "%s", filename);
|
||||
snprintf(namebuf, sizeof(namebuf), "%s", filename);
|
||||
}
|
||||
|
||||
/* converts str to all lowercase */
|
||||
|
Reference in New Issue
Block a user