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

« back to all changes in this revision

Viewing changes to scale.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:
39
39
    co->top = top;
40
40
    co->left = left;
41
41
    co->takesFocus = 0;
 
42
    co->isMapped = 0;
42
43
 
43
44
    sc->fullValue = fullValue;
44
45
    sc->charsSet = 0;
85
86
    int xlabel = (co->width-4) /2;
86
87
    char percent[10];
87
88
    
88
 
    if (co->top == -1) return;
 
89
    if (!co->isMapped) return;
89
90
 
90
91
    newtGotorc(co->top, co->left);
91
92