Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9de14a1c
Commit
9de14a1c
authored
Apr 16, 2004
by
Ge van Geldorp
Committed by
Alexandre Julliard
Apr 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Work around problem in NSIS installers which can't handle 1 char at
a time reading of RTF text. - Increase buffer to 4096 bytes for better compatibility.
parent
8bed3a7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
reader.c
dlls/richedit/reader.c
+9
-3
No files found.
dlls/richedit/reader.c
View file @
9de14a1c
...
...
@@ -124,13 +124,19 @@ int _RTFGetChar(RTF_Info *info)
if
(
CHARLIST_GetNbItems
(
&
info
->
inputCharList
)
==
0
)
{
char
buff
[
10
];
char
buff
[
4096
];
long
pcb
;
info
->
editstream
.
pfnCallback
(
info
->
editstream
.
dwCookie
,
buff
,
1
,
&
pcb
);
info
->
editstream
.
pfnCallback
(
info
->
editstream
.
dwCookie
,
buff
,
sizeof
(
buff
)
,
&
pcb
);
if
(
pcb
==
0
)
return
EOF
;
else
CHARLIST_Enqueue
(
&
info
->
inputCharList
,
buff
[
0
]);
{
int
i
;
for
(
i
=
0
;
i
<
pcb
;
i
++
)
{
CHARLIST_Enqueue
(
&
info
->
inputCharList
,
buff
[
i
]);
}
}
}
myChar
=
CHARLIST_Dequeue
(
&
info
->
inputCharList
);
return
(
int
)
myChar
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment