From d79fa6b5be6dc9e13e2ccc6b657833cb94acdb30 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 14 Jan 2003 18:44:34 +0000 Subject: [PATCH] Remove debugging printfs from mac_workoutfontscale(). git-svn-id: svn://svn.tartarus.org/sgt/putty@2595 cda61777-01e9-0310-a592-d414129be87e --- mac/macterm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mac/macterm.c b/mac/macterm.c index 9bcef099..5379c209 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $Id: macterm.c,v 1.47 2003/01/14 18:43:26 ben Exp $ */ +/* $Id: macterm.c,v 1.48 2003/01/14 18:44:34 ben Exp $ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999, 2002 Ben Harris @@ -208,11 +208,9 @@ static void mac_workoutfontscale(Session *s, int wantwidth, const char text = 'W'; FontInfo fi; - fprintf(stderr, "want width = %d\n", wantwidth); numer.v = denom.v = 1; /* always */ numer.h = denom.h = 1; for (i = 0; i < 3; i++) { - fprintf(stderr, "Trying %d:%d\n", numer.h, denom.h); tmpnumer = numer; tmpdenom = denom; if (s->window->grafProcs != NULL) @@ -223,7 +221,6 @@ static void mac_workoutfontscale(Session *s, int wantwidth, /* The result of StdTxMeas must be scaled by the factors it returns. */ gotwidth = FixRound(FixMul(gotwidth << 16, FixRatio(tmpnumer.h, tmpdenom.h))); - fprintf(stderr, "width = %d\n", gotwidth); if (gotwidth == wantwidth) break; numer.h *= wantwidth; -- 2.11.0