commit 80707ea4bf886e6ff90e0567366d0293650dcaa3
parent 147fe297610b5aec0cf04775a237594e06dea0c7
Author: Frederic Cambus <fred@statdns.com>
Date: Fri, 23 Nov 2018 16:58:16 +0100
Remove commented out unused code
Diffstat:
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -171,7 +171,7 @@ int main(int argc, char *argv[]) {
font = optarg;
for (size_t loop = 0; loop < FONTS; loop++) {
if (!strcmp(fonts[loop], font)) {
- options.font=fontsId[loop];
+ options.font = fontsId[loop];
break;
}
}
@@ -277,13 +277,6 @@ int main(int argc, char *argv[]) {
ctx.length -= 129 - (saucerec->comments > 0 ? 5 + 64 * saucerec->comments : 0);
}
- // use width from the SAUCE record if present and if -c wasn't specified
- /*
- if (!options.columns && fileHasSAUCE && record->tinfo1) {
- options.columns = record->tinfo1;
- }
- */
-
// create the output PNG data by invoking the appropiate function
if (!strcmp(fext, ".pcb")) {
ansilove_pcboard(&ctx, &options);