diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-10-01 21:42:36 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-10-01 21:42:36 +0000 |
commit | 352b72d2f24f6298afcf3b596bb6b327ac144d63 (patch) | |
tree | c33d1903133a50cfe2248472cc11eb52a734bfb4 /gdk-pixbuf/gdk-pixdata.c | |
parent | 2eb145c26f7e173d94e1d9506f80b34ec991e13f (diff) | |
download | gtk+-352b72d2f24f6298afcf3b596bb6b327ac144d63.tar.gz |
Patch from Andy Wingo to always escape ? to avoid accidentally generating
Tue Oct 1 17:35:43 2002 Owen Taylor <otaylor@redhat.com>
* gdkpixdata.c: Patch from Andy Wingo to always
escape ? to avoid accidentally generating trigraphs
in the output (#94631)
Diffstat (limited to 'gdk-pixbuf/gdk-pixdata.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c index 1cbba1aa0c..4a5735f764 100644 --- a/gdk-pixbuf/gdk-pixdata.c +++ b/gdk-pixbuf/gdk-pixdata.c @@ -505,7 +505,7 @@ save_uchar (CSourceData *cdata, cdata->pad = FALSE; } } - if (d < 33 || d > 126) + if (d < 33 || d > 126 || d == '?') { APPEND (gstring, "\\%o", d); cdata->pos += 1 + 1 + (d > 7) + (d > 63); |