mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
Fix comment and one return value.
git-svn-id: svn://localhost/ardour2/branches/3.0@11690 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
947c698b0e
commit
86a0fe1b43
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ read_string (FILE *fp)
|
|||
}
|
||||
|
||||
/** Read an integer value from a line in fp into n,
|
||||
* @return true on success, false on failure.
|
||||
* @return true on failure, false on success.
|
||||
*/
|
||||
static bool
|
||||
read_int (FILE* fp, int* n)
|
||||
|
|
@ -58,7 +58,7 @@ read_int (FILE* fp, int* n)
|
|||
|
||||
char* p = fgets (buf, MAX_STRING_LEN, fp);
|
||||
if (p == 0) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
return (sscanf (p, "%d", n) != 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue