summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixdata.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-10-01 21:42:36 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-10-01 21:42:36 +0000
commit352b72d2f24f6298afcf3b596bb6b327ac144d63 (patch)
treec33d1903133a50cfe2248472cc11eb52a734bfb4 /gdk-pixbuf/gdk-pixdata.c
parent2eb145c26f7e173d94e1d9506f80b34ec991e13f (diff)
downloadgtk+-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.c2
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);