commit 67b6bfdbd9b8c694509134cc2ab38c150aab6eb2 parent 77e47f03220e3467c2653b25a10ba351341ad44a Author: Frederic Cambus <fred@statdns.com> Date: Tue, 22 Sep 2020 23:30:56 +0200 Stop parsing for PCBoard cursor position sequences. The code was horrible, and no PCB files released in artpacks use them. Diffstat:
M | src/loaders/pcboard.c | | | 11 | ----------- |
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/loaders/pcboard.c b/src/loaders/pcboard.c @@ -106,17 +106,6 @@ ansilove_pcboard(struct ansilove_ctx *ctx, struct ansilove_options *options) loop += 4; } - if (!memcmp(cursor, "POS:", 4)) { - /* cursor position */ - if (ctx->buffer[loop+6] == '@') - { - column = ((ctx->buffer[loop+5])-48)-1; - loop += 5; - } else { - column = (10 * ((ctx->buffer[loop+5])-48) + (ctx->buffer[loop+6])-48)-1; - loop += 6; - } - } break; default: /* reallocate structure array memory */