# HG changeset patch # User henry # Date 1056571956 0 # Node ID 8803033c8db4b0d505ac2ecd7475540dff4ff1b3 # Parent d0b3d4f8154e5a415748d900e7c6a6e059cf347c 10L diff -r d0b3d4f8154e -r 8803033c8db4 subreader.c --- 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);