projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
postcomputes show up in results (all zeros so far)
[pspp]
/
src
/
libpspp
/
u8-line.c
diff --git
a/src/libpspp/u8-line.c
b/src/libpspp/u8-line.c
index 3b4f9c60c4d2e55ea7503bf89bc3d80fc0801c33..1374314a11fb377c8f6e7e95b751738426f16c8d 100644
(file)
--- a/
src/libpspp/u8-line.c
+++ b/
src/libpspp/u8-line.c
@@
-122,6
+122,9
@@
u8_line_find_pos (const struct u8_line *line, int target_x, struct u8_pos *c)
}
x += w;
}
+
+ /* This can happen if there are non-printable characters
+ in the line. */
c->x1 = x;
c->ofs1 = ofs;
return false;