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