changeset 243:a3dd87b7c00b

Oops, forgot to adjust the code for change in sidlib_read_sid_file_alloc() API.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 04 Jan 2020 22:57:39 +0200
parents 537420ccd05b
children 1beaad0d5219
files sidinfo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Sat Jan 04 21:57:47 2020 +0200
+++ b/sidinfo.c	Sat Jan 04 22:57:39 2020 +0200
@@ -1062,7 +1062,7 @@
     th_io_set_handlers(inFile, siError, NULL);
 
     // Read PSID data
-    if (!sidlib_read_sid_file_alloc(inFile, &psid, setSLDBNewFormat))
+    if ((res = sidlib_read_sid_file_alloc(inFile, &psid, setSLDBNewFormat)) != THERR_OK)
         goto error;
 
     // Get songlength information, if any