shithub: rgbds

Download patch

ref: e2b4554a5c933eaebeb394d9057a6abcd68ac3e7
parent: ef87dd5a6e4158a2d522f6bce2abba5b8ce0df9b
author: Antonio Niño Díaz <[email protected]>
date: Tue Apr 3 18:36:16 EDT 2018

Replace tabs by spaces in fprintf()

Signed-off-by: Antonio Niño Díaz <[email protected]>

--- a/src/asm/main.c
+++ b/src/asm/main.c
@@ -240,7 +240,7 @@
 {
 	fprintf(stderr, "ERROR: ");
 	fstk_Dump();
-	fprintf(stderr, ":\n\t");
+	fprintf(stderr, ":\n    ");
 	vfprintf(stderr, fmt, args);
 	fprintf(stderr, "\n");
 	nErrors += 1;
@@ -277,7 +277,7 @@
 
 	fprintf(stderr, "warning: ");
 	fstk_Dump();
-	fprintf(stderr, ":\n\t");
+	fprintf(stderr, ":\n    ");
 	vfprintf(stderr, fmt, args);
 	fprintf(stderr, "\n");
 
--- a/src/link/lexer.l
+++ b/src/link/lexer.l
@@ -185,7 +185,7 @@
 	va_start(args, fmt);
 	fprintf(stderr, "error: ");
 	script_PrintFileStack();
-	fprintf(stderr, ":\n\t");
+	fprintf(stderr, ":\n    ");
 	vfprintf(stderr, fmt, args);
 	fprintf(stderr, "\n");
 	va_end(args);