From: ben Date: Sun, 12 Jan 2003 14:23:00 +0000 (+0000) Subject: COmpiling _before_ committing is usually a good idea. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/9546c9c6fd9b1c67c92f4ea2f0039039c63d2f8e COmpiling _before_ committing is usually a good idea. git-svn-id: svn://svn.tartarus.org/sgt/putty@2556 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/mac/macterm.c b/mac/macterm.c index 014260c1..9da219b7 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $Id: macterm.c,v 1.41 2003/01/12 13:50:04 ben Exp $ */ +/* $Id: macterm.c,v 1.42 2003/01/12 14:23:00 ben Exp $ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999, 2002 Ben Harris @@ -188,7 +188,7 @@ void mac_startsession(Session *s) ShowWindow(s->window); s->next = sesslist; s->prev = s->next->prev; - if (ret->next != NULL) + if (s->next != NULL) s->next->prev = &s->next; sesslist = s; }