changeset 27:4dd463eebb74

Fix argument handling when file does not exist.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 25 Sep 2014 04:01:22 +0300
parents 0928e3c0d08f
children 6240788fe172
files sidinfo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Thu Sep 25 03:41:11 2014 +0300
+++ b/sidinfo.c	Thu Sep 25 04:01:22 2014 +0300
@@ -472,7 +472,7 @@
     if ((inFile = fopen(filename, "rb")) == NULL)
     {
         THERR("Could not open file '%s'.\n", filename);
-        return FALSE;
+        return TRUE;
     }
 
     // Read PSID data