mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
some fixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@398 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
450dab6fe5
commit
a5365695a4
4 changed files with 6 additions and 9 deletions
|
@ -353,7 +353,7 @@ int config_writelrom(const char *fname)
|
|||
int size;
|
||||
FILE *f;
|
||||
|
||||
if (strlen(lastRomFile) == 0) return 0;
|
||||
if (strlen(lastRomFile) == 0) return -1;
|
||||
|
||||
f = fopen(fname, "r");
|
||||
if (f != NULL)
|
||||
|
@ -694,7 +694,7 @@ int config_readsect(const char *fname, const char *section)
|
|||
FILE *f;
|
||||
|
||||
f = fopen(fname, "r");
|
||||
if (f == NULL) return 0;
|
||||
if (f == NULL) return -1;
|
||||
|
||||
if (section != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue