Author: hbelusca
Date: Sat Jan 31 18:56:14 2015
New Revision: 66129
URL:
http://svn.reactos.org/svn/reactos?rev=66129&view=rev
Log:
No code clarification, sorry.
Modified:
trunk/reactos/tools/cdmake/cdmake.c
Modified: trunk/reactos/tools/cdmake/cdmake.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/cdmake/cdmake.c?rev=…
==============================================================================
--- trunk/reactos/tools/cdmake/cdmake.c [iso-8859-1] (original)
+++ trunk/reactos/tools/cdmake/cdmake.c [iso-8859-1] Sat Jan 31 18:56:14 2015
@@ -1838,14 +1838,10 @@
{
char *trimmedline, *targetname, *srcname, *eq;
char lineread[1024];
- FILE *f;
-
- source++;
-
- f = fopen(source, "r");
+ FILE *f = fopen(source+1, "r");
if (!f)
{
- error_exit("Can't open cd description %s\n", source);
+ error_exit("Can't open cd description %s\n", source+1);
}
while (fgets(lineread, sizeof(lineread), f))
{