X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=progs%2Ftic.c;h=23282e08d3c49e471331054cc56c0a797c6a6142;hb=4f10f7dff42e5348b814bdce71d3e4d925bd6ed6;hp=3d894acd2d406b850c465268400a2b6c2933c31b;hpb=3996fe0bf797f113d6abc4329cc869951735a4d8;p=ncurses.git diff --git a/progs/tic.c b/progs/tic.c index 3d894acd..23282e08 100644 --- a/progs/tic.c +++ b/progs/tic.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. * + * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -44,7 +44,7 @@ #include #include -MODULE_ID("$Id: tic.c,v 1.139 2009/12/12 17:30:12 Nicholas.Marriott Exp $") +MODULE_ID("$Id: tic.c,v 1.140 2010/01/02 22:54:01 tom Exp $") const char *_nc_progname = "tic"; @@ -1272,6 +1272,8 @@ similar_sgr(int num, char *a, char *b) } else if (delaying) { a = skip_delay(a); b = skip_delay(b); + } else if ((*b == '0' || (*b == ';')) && *a == 'm') { + b++; } else { a++; }