From aaa847b4be30b33e6b243ccc4d5e6c34f1089ae9 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Tue, 18 Nov 2025 09:52:10 +0100 Subject: [PATCH] =?UTF-8?q?-=20[FIX]=20Arreglada=20la=20c=C3=A0rrega=20de?= =?UTF-8?q?=20fonts=20per=20a=20Windows=20i=20els=20seus=20dos=20car=C3=A0?= =?UTF-8?q?cters=20de=20final=20de=20linea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/japi/font.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/japi/font.cpp b/source/japi/font.cpp index d51eae7..dee4baa 100644 --- a/source/japi/font.cpp +++ b/source/japi/font.cpp @@ -24,13 +24,11 @@ namespace font bool eof = false; while (true) { if (*p=='#') while (*p!=0 && *p!=10) p++; - if (*p==0) break; - p++; + if (*p==0) break; while (*p==10 || *p==13) p++; spaces[pos++] = (*p)-48; if (pos==127) break; p++; - if (*p==0) break; - p++; + if (*p==0) break; while (*p==10 || *p==13) p++; } free(buffer);