mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 12:53:53 +01:00
fix paths
This commit is contained in:
@@ -404,10 +404,10 @@ void init_rds_encoder(RDSEncoder* enc) {
|
|||||||
|
|
||||||
init_rtplus(enc, GROUP_11A);
|
init_rtplus(enc, GROUP_11A);
|
||||||
|
|
||||||
if(fileExists("~/.rdsEncoder")) {
|
if(fileExists(getenv("HOME")+"/.rdsEncoder")) {
|
||||||
loadFromFile("~/.rdsEncoder", enc);
|
loadFromFile(getenv("HOME")+"/.rdsEncoder", enc);
|
||||||
} else {
|
} else {
|
||||||
saveToFile("~/.rdsEncoder", enc);
|
saveToFile(getenv("HOME")+"/.rdsEncoder", enc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user