diff --git a/dll/win32/riched20/editor.c b/dll/win32/riched20/editor.c index d08f781d1da..5c602d5f74e 100644 --- a/dll/win32/riched20/editor.c +++ b/dll/win32/riched20/editor.c @@ -4500,7 +4500,11 @@ static BOOL ME_IsCandidateAnURL(ME_TextEditor *editor, const ME_Cursor *start, i #define MAX_PREFIX_LEN 9 #define X(str) str, ARRAY_SIZE(str) - 1 struct prefix_s { +#ifdef __REACTOS__ + const WCHAR text[MAX_PREFIX_LEN + 1]; +#else const WCHAR text[MAX_PREFIX_LEN]; +#endif int length; }prefixes[] = { {X(L"prospero:")},