aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-30 19:47:59 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-30 19:47:59 +0000
commit6c2fe303c1ea51d1482c6c4d553e62b86183bacf (patch)
tree84c1ecaa786d61dd1ac09d59db6dc190942b51ed
parentvt: remove almost all abort() calls (diff)
main: font metrics should be debug logged
-rw-r--r--main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.c b/main.c
index 3228e8f8..c1182339 100644
--- a/main.c
+++ b/main.c
@@ -277,8 +277,6 @@ main(int argc, char *const *argv)
{NULL, no_argument, 0, 0},
};
- //const char *font_name = "monospace";
-
while (true) {
int c = getopt_long(argc, argv, ":t:f:h", longopts, NULL);
if (c == -1)
@@ -500,7 +498,7 @@ main(int argc, char *const *argv)
term.fextents.ascent = ascent;
term.fextents.max_x_advance = max_x_advance;
- LOG_WARN("metrics: height: %d, descent: %d, ascent: %d, x-advance: %d",
+ LOG_DBG("metrics: height: %d, descent: %d, ascent: %d, x-advance: %d",
height, descent, ascent, max_x_advance);
}