changeset 10336:8803033c8db4

10L
author henry
date Wed, 25 Jun 2003 20:12:36 +0000
parents d0b3d4f8154e
children 744d56a47d09
files subreader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/subreader.c	Tue Jun 24 21:17:31 2003 +0000
+++ b/subreader.c	Wed Jun 25 20:12:36 2003 +0000
@@ -1699,7 +1699,7 @@
 		    }
 
 		    if (prio) {
-			sprintf(tmpresult, "%s%s", f_dir, de->d_name);
+			sprintf(tmpresult, "%s%s", j == 0 ? f_dir : path, de->d_name);
 //			fprintf(stderr, "%s priority %d\n", tmpresult, prio);
 			if ((f = fopen(tmpresult, "rt"))) {
 			    fclose(f);