]> git.sur5r.net Git - cc65/blobdiff - src/cc65/codelab.c
Fixed a bug in signed int compares
[cc65] / src / cc65 / codelab.c
index db4341d8737fc49c54851a856b21e24766d19873..f4c14ea752ed038bbfaab45b67f6ab8f91803ae6 100644 (file)
@@ -123,8 +123,12 @@ void CL_Output (const CodeLabel* L, FILE* F)
 /* Output the code label to a file */
 {
     fprintf (F, "%s:", L->Name);
+    if (strlen (L->Name) > 6) {
+       /* Label is too long, add a linefeed */
+       fputc ('\n', F);
+    }
 }
 
 
 
-                       
+