projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[USP10]
[reactos.git]
/
reactos
/
dll
/
win32
/
usp10
/
usp10.c
diff --git
a/reactos/dll/win32/usp10/usp10.c
b/reactos/dll/win32/usp10/usp10.c
index
9a372c7
..
d4159d0
100644
(file)
--- a/
reactos/dll/win32/usp10/usp10.c
+++ b/
reactos/dll/win32/usp10/usp10.c
@@
-1341,7
+1341,7
@@
static HRESULT _ItemizeInternal(const WCHAR *pwcInChars, int cInChars,
if (original == Script_Punctuation2)
break;
}
- if (
scriptInformation[scripts[j]].props.fComplex || asian
)
+ if (
j >= 0 && (scriptInformation[scripts[j]].props.fComplex || asian)
)
scripts[i] = scripts[j];
}
}