root@rpp386.Dallas.TX.US (The Beach Bum) (09/07/88)
i have managed to find a bug with `bpe' which was posted sometime in the past. i can't find it in the archive listings i have, but i recall it was posted as 'bpe' in the .misc group ... anyhow, this patch fixes a display bug. - john. -------- snip here --------- *** bpatch.c --- bpatch.c.new ************** *** 1241,1249 for (j = 0; j < 16 && i*16+j < bytes; ++j) { ! if (temp[j] < ' ') outch ('.'); ! else ! { sprintf (outbuf, "%c", temp[j]); outstr (outbuf); } --- 1241,1249 ----- for (j = 0; j < 16 && i*16+j < bytes; ++j) { ! if (temp[j] < ' ' || temp[j] > '~' || temp[j] == '%') ! outch ('.'); ! else { sprintf (outbuf, "%c", temp[j]); outstr (outbuf); }