summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
db29017)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@739
a5681a0c-68f1-0310-ab6d-
d61299d08faa
default:
if (ch > 255) {
pdf_put_char(buf, '?');
default:
if (ch > 255) {
pdf_put_char(buf, '?');
- } else if (ch >= 126 || ch < 32) {
+ } else if (ch > 125 || ch < 32) {
- } else if (ch >= 0 && ch <= 255) {
char tmp[10];
snprintf(tmp, sizeof(tmp), "\\%03o", (int)ch);
pdf_puts(buf, tmp);
char tmp[10];
snprintf(tmp, sizeof(tmp), "\\%03o", (int)ch);
pdf_puts(buf, tmp);