mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 17:17:28 -04:00
* Fix crash issues with empty FreqMan files * Added ability to delete empty files * Fix missing Comma character when editing text #1125
This commit is contained in:
parent
7576432e44
commit
344a8dc0a0
4 changed files with 23 additions and 4 deletions
|
@ -281,6 +281,13 @@ bool get_freq_string(freqman_entry& entry, std::string& item_string) {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool delete_freqman_file(std::string& file_stem) {
|
||||
File freqman_file;
|
||||
std::string freq_file_path = "/FREQMAN/" + file_stem + ".TXT";
|
||||
delete_file(freq_file_path);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool save_freqman_file(std::string& file_stem, freqman_db& db) {
|
||||
File freqman_file;
|
||||
std::string freq_file_path = "/FREQMAN/" + file_stem + ".TXT";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue