diff options
author | Carl Hetherington <carl@carlh.net> | 2012-03-14 22:53:41 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-03-14 22:53:41 +0000 |
commit | 86a0fe1b43432bc56f24644ec06d8e2d214cc8d5 (patch) | |
tree | bc03c7d34a0c8815e5fd5d0358db2a347bc15811 | |
parent | 947c698b0e673b4e416045b3b72a6a4d589212e5 (diff) |
Fix comment and one return value.
git-svn-id: svn://localhost/ardour2/branches/3.0@11690 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/linux_vst_info_file.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/linux_vst_info_file.cc b/libs/ardour/linux_vst_info_file.cc index 4372d1ada5..6eabae6e66 100644 --- a/libs/ardour/linux_vst_info_file.cc +++ b/libs/ardour/linux_vst_info_file.cc @@ -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); |