]> git.sur5r.net Git - cc65/commitdiff
Small fix for debug info output.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 28 Jan 2011 16:20:39 +0000 (16:20 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 28 Jan 2011 16:20:39 +0000 (16:20 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4947 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/dbginfo.c

index acd567172c669f8f761bc10fcfc07c0dcd28e902..f5133398688e579e40483061cc33eeebef15fc4e 100644 (file)
@@ -78,13 +78,10 @@ void PrintDbgInfo (ObjData* O, FILE* F)
 
            /* Print it */
             fprintf (F,
-                     "line\tfile=%u,line=%lu,segment=%u,range=0x%06lX-0x%06lX",
+                     "line\tfile=%u,line=%lu,segment=%u,range=0x%06lX-0x%06lX\n",
                      LI->File->Id, GetSourceLine (LI), R->Seg->Id,
                      R->Offs, R->Offs + R->Size - 1);
        }
-
-       /* Terminate the line */
-       fprintf (F, "\n");
     }
 }