X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=mac%2Fmacevlog.c;h=43a2658f81ba9994bfe182833ca456ab966b5c12;hb=7573f3733f3ba896018dc7b1cdd2b3a51b450096;hp=60283edbe0fad9d6c9b343f95348db7bdf1feba2;hpb=f599817d78f6b0bfbe5b8abc573c71966ae530ce;p=PuTTY.git diff --git a/mac/macevlog.c b/mac/macevlog.c index 60283edb..43a2658f 100644 --- a/mac/macevlog.c +++ b/mac/macevlog.c @@ -1,4 +1,4 @@ -/* $Id: macevlog.c,v 1.6 2003/03/29 23:07:55 ben Exp $ */ +/* $Id: macevlog.c,v 1.8 2003/05/04 14:18:18 simon Exp $ */ /* * Copyright (c) 2003 Ben Harris * All rights reserved. @@ -101,16 +101,9 @@ void mac_freeeventlog(Session *s) } } -/* - * FIXME: logevent() should be passed a frontend handle, but backends have to - * have a terminal handle instead, because they pass it to from_backend(), - * so we accept a terminal handle here as well, and hope no-one tries to call - * us with sensible arguments. - */ -void logevent(void *frontend, char *str) +void logevent(void *frontend, const char *str) { - Terminal *term = frontend; - Session *s = term->frontend; + Session *s = frontend; ListBounds bounds, visible; Cell cell = { 0, 0 };