X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Fcomp_parse.c;h=9060886b55a23d3fe543667fb615497445b7d63b;hp=6e516011bfc8b0d097cd826285b4a77c69c63791;hb=4e793faf6575b2297482f77b2bc3d18105c0fc76;hpb=761e4f0825b330e970558e82a4bd638383914429 diff --git a/ncurses/tinfo/comp_parse.c b/ncurses/tinfo/comp_parse.c index 6e516011..9060886b 100644 --- a/ncurses/tinfo/comp_parse.c +++ b/ncurses/tinfo/comp_parse.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * + * Copyright (c) 1998-2012,2013 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 * @@ -47,7 +47,7 @@ #include -MODULE_ID("$Id: comp_parse.c,v 1.86 2012/10/27 21:48:03 tom Exp $") +MODULE_ID("$Id: comp_parse.c,v 1.87 2013/05/25 20:20:08 tom Exp $") static void sanity_check2(TERMTYPE *, bool); NCURSES_IMPEXP void NCURSES_API(*_nc_check_termtype2) (TERMTYPE *, bool) = sanity_check2; @@ -90,7 +90,7 @@ force_bar(char *dst, char *src) } #define ForceBar(dst, src) ((strchr(src, '|') == 0) ? force_bar(dst, src) : src) -#if USE_TERMCAP && NCURSES_XNAMES +#if NCURSES_USE_TERMCAP && NCURSES_XNAMES static char * skip_index(char *name) { @@ -113,7 +113,7 @@ check_collisions(char *n1, char *n2, int counter) n1 = ForceBar(nc1, n1); n2 = ForceBar(nc2, n2); -#if USE_TERMCAP && NCURSES_XNAMES +#if NCURSES_USE_TERMCAP && NCURSES_XNAMES if ((_nc_syntax == SYN_TERMCAP) && _nc_user_definable) { n1 = skip_index(n1); n2 = skip_index(n2); @@ -167,7 +167,7 @@ remove_collision(char *n1, char *n2) char *pstart, *qstart, *pend, *qend; bool removed = FALSE; -#if USE_TERMCAP && NCURSES_XNAMES +#if NCURSES_USE_TERMCAP && NCURSES_XNAMES if ((_nc_syntax == SYN_TERMCAP) && _nc_user_definable) { p1 = n1 = skip_index(n1); p2 = n2 = skip_index(n2);