Ignore:
Timestamp:
Jan 13, 2017, 3:21:12 PM (8 years ago)
Author:
Silvan Scherrer
Message:

ncurses: import vendor version 5.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified ncurses/vendor/current/ncurses/base/lib_box.c

    r85 r1910  
    11/****************************************************************************
    2  * Copyright (c) 1998-2002,2005 Free Software Foundation, Inc.              *
     2 * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    33 *                                                                          *
    44 * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    4343#include <curses.priv.h>
    4444
    45 MODULE_ID("$Id: lib_box.c,v 1.22 2005/11/26 15:39:42 tom Exp $")
     45MODULE_ID("$Id: lib_box.c,v 1.24 2010/04/24 23:51:57 tom Exp $")
    4646
    4747#if USE_WIDEC_SUPPORT
     
    5252    SetChar2(wch, ch);
    5353    wch = _nc_render(win, wch);
    54     return CharOf(wch) | AttrOf(wch);
     54    return ((attr_t) CharOf(wch)) | AttrOf(wch);
    5555}
     56
    5657#define RENDER_WITH_DEFAULT(ch,def) w ## ch = _my_render(win, (ch == 0) ? def : ch)
    5758#else
     
    7172
    7273    T((T_CALLED("wborder(%p,%s,%s,%s,%s,%s,%s,%s,%s)"),
    73        win,
     74       (void *) win,
    7475       _tracechtype2(1, ls),
    7576       _tracechtype2(2, rs),
Note: See TracChangeset for help on using the changeset viewer.