diff --git a/reactos/tools/cdmake/cdmake.c b/reactos/tools/cdmake/cdmake.c index 6b23e1e1feb..cc529d6ba0b 100644 --- a/reactos/tools/cdmake/cdmake.c +++ b/reactos/tools/cdmake/cdmake.c @@ -34,7 +34,7 @@ * magnus@greatlord.com */ -/* According to his website, this file was released into the public domain by Phillip J. Erdelsky */ +/* According to his website, this file was released into the public domain by Philip J. Erdelsky */ #include #include @@ -1838,10 +1838,14 @@ int main(int argc, char **argv) { char *trimmedline, *targetname, *srcname, *eq; char lineread[1024]; - FILE *f = fopen(source+1, "r"); + FILE *f; + + source++; + + f = fopen(source, "r"); if (!f) { - error_exit("Can't open cd description %s\n", source+1); + error_exit("Can't open cd description %s\n", source); } while (fgets(lineread, sizeof(lineread), f)) { diff --git a/reactos/tools/cdmake/llmsort.c b/reactos/tools/cdmake/llmsort.c index 467c1790f94..e20893c988e 100644 --- a/reactos/tools/cdmake/llmsort.c +++ b/reactos/tools/cdmake/llmsort.c @@ -5,8 +5,7 @@ * http://alumnus.caltech.edu/~pje/ */ -/* According to his website, this file was released into the public domain by Phillip J. Erdelsky */ - +/* According to his website, this file was released into the public domain by Philip J. Erdelsky */ #include