IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 6, 2015, 6:15:15 AM (11 years ago)
Author:
eugene
Message:

add mslice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/rd.c

    r38062 r38234  
    170170  if (plane >= 0) {
    171171    // we are requesting a specific plane (-1 : all data)
    172     int tooFar = Nz ? (plane >= Nz) : (plane > Nz);
     172    int tooFar = (Nz > 0) ? (plane >= Nz) : (plane > 0);
    173173    if (tooFar) {
    174174      gprint (GP_ERR, "-plane is too large: %d total planes\n", Nz);
Note: See TracChangeset for help on using the changeset viewer.