This commit is contained in:
e2002
2022-02-07 22:49:33 +03:00
parent 351214dac6
commit 743d101e1d
2 changed files with 3 additions and 3 deletions

View File

@@ -207,7 +207,7 @@ void Config::fillPlMenu(char plmenu[][40], int from, byte count) {
bool Config::parseCSV(const char* line, char* name, char* url, int &ovol) {
char *tmpe;
const char* cursor = line;
char buf[4];
char buf[5];
tmpe=strstr(cursor, "\t");
if(tmpe==NULL) return false;
strlcpy(name, cursor, tmpe-cursor+1);
@@ -219,7 +219,7 @@ bool Config::parseCSV(const char* line, char* name, char* url, int &ovol) {
if(strlen(url)==0) return false;
cursor=tmpe+1;
if (strlen(cursor) == 0) return false;
strlcpy(buf, cursor, 3);
strlcpy(buf, cursor, 4);
ovol = atoi(buf);
return true;
}

View File

@@ -1,7 +1,7 @@
#ifndef options_h
#define options_h
#define VERSION "0.4.182"
#define VERSION "0.4.183"
/* DISPLAY MODEL
* 0 - DUMMY