projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed minor problems with GRS-1. Added support in c&s.
[yaz-moved-to-github.git]
/
odr
/
odr_util.c
diff --git
a/odr/odr_util.c
b/odr/odr_util.c
index
d399f9e
..
7a07775
100644
(file)
--- a/
odr/odr_util.c
+++ b/
odr/odr_util.c
@@
-5,8
+5,11
@@
char *odr_indent(ODR o)
{
static char buf[512];
char *odr_indent(ODR o)
{
static char buf[512];
+ int i = o->indent;
memset(buf, ' ', 512);
memset(buf, ' ', 512);
+ if (i >= 128)
+ i = 127;
buf[o->indent * 4] = 0;
return buf;
}
buf[o->indent * 4] = 0;
return buf;
}