summaryrefslogtreecommitdiff
path: root/Build/source/texk/upmendex/styfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/upmendex/styfile.c')
-rw-r--r--Build/source/texk/upmendex/styfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/upmendex/styfile.c b/Build/source/texk/upmendex/styfile.c
index 961b5f7b6cc..cecf29d7255 100644
--- a/Build/source/texk/upmendex/styfile.c
+++ b/Build/source/texk/upmendex/styfile.c
@@ -323,7 +323,7 @@ void set_icu_attributes(void)
for (i=0;i<UCOL_ATTRIBUTE_COUNT;i++) icu_attributes[i]=UCOL_DEFAULT;
tmp=icu_attr_str;
- head=strtok(tmp, " \t");
+ head=strtok(tmp, " \t\r\n");
while (head!=NULL) {
pos=head;
if (strncmp(pos,"alternate:",10)==0) {
@@ -375,6 +375,6 @@ void set_icu_attributes(void)
illegal:
verb_printf(efp,"\nWarning: Illegal input for icu_attributes (%s).",head);
}
- head=strtok(NULL, " \t");
+ head=strtok(NULL, " \t\r\n");
}
}