shithub: rgbds

Download patch

ref: 84edfb3d885e84f7ca8e02c3db11ca29718a8e3f
parent: 7e620bff817c5826adc5a73acd7bc1774d835c74
author: daid <daid303@gmail.com>
date: Tue Nov 3 08:33:02 EST 2020

Update output.c

--- a/src/asm/output.c
+++ b/src/asm/output.c
@@ -472,11 +472,10 @@
 void out_WriteObject(void)
 {
 	FILE *f;
-	if (strcmp(tzObjectname, "-") != 0) {
+	if (strcmp(tzObjectname, "-") != 0)
 		f = fopen(tzObjectname, "wb");
-	} else {
+	else
 		f = fdopen(1, "wb");
-	}
 
 	if (!f)
 		err(1, "Couldn't write file '%s'", tzObjectname);