summaryrefslogtreecommitdiff
path: root/fluid/code.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-11-25 15:54:43 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-11-25 15:54:43 +0000
commita7d3bafa5a7dc68595650ad70389a8baeac982bf (patch)
treeea5793b6f48f7af2016edf4a3ceebaad8eb3518c /fluid/code.cxx
parentf840da44d16caf07c33cd29310e238d7f029c737 (diff)
Changed from hexadecimal escapes to octal, since hex might be causing
problems... git-svn-id: file:///fltk/svn/fltk/trunk@103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/code.cxx')
-rw-r--r--fluid/code.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/code.cxx b/fluid/code.cxx
index 4e738f3aa..b00448049 100644
--- a/fluid/code.cxx
+++ b/fluid/code.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: code.cxx,v 1.4 1998/10/21 16:28:58 mike Exp $"
+// "$Id: code.cxx,v 1.5 1998/11/25 15:54:43 mike Exp $"
//
// Code output routines for the Fast Light Tool Kit (FLTK).
//
@@ -187,7 +187,7 @@ void write_cstring(const char *w, int length) {
default:
if (c < ' ' || c >= 127) {
QUOTENEXT:
- fprintf(code_file, "\\x%02x",c&255);
+ fprintf(code_file, "\\%03o",c&255);
linelength += 4;
c = *w;
if (w < e && (c>='0'&&c<='9' || c>='a'&&c<='f' || c>='A'&&c<='F')) {
@@ -290,5 +290,5 @@ void Fl_Type::write_code1() {
void Fl_Type::write_code2() {}
//
-// End of "$Id: code.cxx,v 1.4 1998/10/21 16:28:58 mike Exp $".
+// End of "$Id: code.cxx,v 1.5 1998/11/25 15:54:43 mike Exp $".
//