projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2598d79
)
Handle numeric subfields correctly.
author
Giannis kosmas
<kosmas@lib.uoc.gr>
Fri, 25 Jan 2013 13:03:03 +0000
(15:03 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 25 Jan 2013 13:31:41 +0000
(14:31 +0100)
src/marc_read_line.c
patch
|
blob
|
history
diff --git
a/src/marc_read_line.c
b/src/marc_read_line.c
index
123f475
..
d669576
100644
(file)
--- a/
src/marc_read_line.c
+++ b/
src/marc_read_line.c
@@
-202,7
+202,8
@@
int yaz_marc_read_line(yaz_marc_t mt,
while ((next = strchr(next, marker_ch)))
{
if ((next[1] >= 'A' && next[1] <= 'Z')
- ||(next[1] >= 'a' && next[1] <= 'z'))
+ ||(next[1] >= 'a' && next[1] <= 'z')
+ ||(next[1] >= '0' && next[1] <= '9'))
{
if (!marker_skip)
break;