Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/local/programs/bdfload move \n where it's supposed to be



details:   https://anonhg.NetBSD.org/xsrc/rev/ab323e7d42af
branches:  trunk
changeset: 7134:ab323e7d42af
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Aug 16 21:52:00 2022 +0000

description:
move \n where it's supposed to be
now fonts wider than 8 are dumped correctly

diffstat:

 local/programs/bdfload/bdfload.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 8e7d37306f70 -r ab323e7d42af local/programs/bdfload/bdfload.c
--- a/local/programs/bdfload/bdfload.c  Tue Aug 16 21:32:21 2022 +0000
+++ b/local/programs/bdfload/bdfload.c  Tue Aug 16 21:52:00 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bdfload.c,v 1.6 2022/08/16 21:32:21 macallan Exp $     */
+/*     $NetBSD: bdfload.c,v 1.7 2022/08/16 21:52:00 macallan Exp $     */
 
 /*
  * Copyright (c) 2018 Michael Lorenz
@@ -112,8 +112,8 @@
                        putchar((c & msk) != 0 ? '#' : ' ');
                        msk = msk >> 1;
                }
-               printf("\n");
        }
+       printf("\n");
 }
  
 void



Home | Main Index | Thread Index | Old Index