mirror of https://github.com/e2002/yoradio.git
ovol bug
This commit is contained in:
parent
351214dac6
commit
743d101e1d
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef options_h
|
||||
#define options_h
|
||||
|
||||
#define VERSION "0.4.182"
|
||||
#define VERSION "0.4.183"
|
||||
|
||||
/* DISPLAY MODEL
|
||||
* 0 - DUMMY
|
||||
|
|
|
|||
Loading…
Reference in New Issue