c
assert(sp->bytes_per_line != 0);
if (cc % sp->bytes_per_line != 0) {
    // code here
}
