~ubuntu-branches/ubuntu/utopic/newt/utopic

« back to all changes in this revision

Viewing changes to checkbox.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-07-01 23:06:29 UTC
  • mfrom: (2.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20130701230629-vn7p5llzt03j09mv
Tags: 0.52.15-2ubuntu1
* Merge with Debian; remaining changes:
  - Fix python-* package descriptions.
  - Install/remove alternatives for the ubuntu palette.
  - Don't install python-newt example files.
  - Install whiptail in /bin instead of /usr/bin.
* Still build with tcl8.5 (8.6 is in universe).

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
static void cbDraw(newtComponent c) {
184
184
    struct checkbox * cb = c->data;
185
185
 
186
 
    if (c->top == -1 || !c->isMapped) return;
 
186
    if (!c->isMapped) return;
187
187
 
188
188
    if (cb->flags & NEWT_FLAG_DISABLED) {
189
189
        cb->inactive = NEWT_COLORSET_DISENTRY;