projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf11833
)
(load_chartable): Fix previous change.
author
handa
<handa>
Thu, 7 Apr 2005 11:42:05 +0000
(11:42 +0000)
committer
handa
<handa>
Thu, 7 Apr 2005 11:42:05 +0000
(11:42 +0000)
src/database.c
patch
|
blob
|
history
diff --git
a/src/database.c
b/src/database.c
index
71bdcd4
..
f7616e9
100644
(file)
--- a/
src/database.c
+++ b/
src/database.c
@@
-293,9
+293,9
@@
load_chartable (FILE *fp, MSymbol type)
{
char *p = buf + i;
- while (! isspace (*p))
+ while (*p && ! isspace (*p))
{
- if (*p == '\\' || p[1] != '\0')
+ if (*p == '\\' && p[1] != '\0')
{
memmove (p, p + 1, buf + len - (p + 1));
len--;