X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/0ed48730a1c7c81cf93a49ce61541461d7df5a58..c6958dfe2ab270f7d02d02b21d4a4008478a5ea9:/mac/macterm.c diff --git a/mac/macterm.c b/mac/macterm.c index 1ff64ac8..46c30f66 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $Id: macterm.c,v 1.77 2004/10/13 11:50:16 simon Exp $ */ +/* $Id: macterm.c,v 1.78 2004/10/14 16:42:43 simon Exp $ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999, 2002 Ben Harris @@ -1158,6 +1158,11 @@ void do_text(Context ctx, int x, int y, wchar_t *text, int len, assert(len <= 1024); + /* SGT, 2004-10-14: I don't know how to support combining characters + * on the Mac. Hopefully the first person to fail this assertion will + * know how to do it better than me... */ + assert(!(attr & TATTR_COMBINING)); + SetPort((GrafPtr)GetWindowPort(s->window)); fontwidth = s->font_width;