Changeset de852c9d34655dd3ed1d4bd8e101f9c27231c0a6

Show
Ignore:
Timestamp:
05/23/08 22:06:48 (10 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1211580408 +0000
git-parent:

[3f4716370794db5cdaed9eca07c85133b9a9d624]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1211580408 +0000
Message:

fixes #25

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_console_state.c

    r3f47163 rde852c9  
    134134    *set = malloc(count * sizeof(**set)); 
    135135    count = 0; 
    136     for(; (i>0 && s<e) || (i<0 && s>e); s += i) { 
     136    for(; (i>0 && s<=e) || (i<0 && s>=e); s += i) { 
    137137      snprintf(buff, sizeof(buff), "%d", s); 
    138138      (*set)[count] = strdup(buff);