Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
poppler
poppler
Commits
d254174e
Commit
d254174e
authored
Oct 31, 2012
by
Fabio D'Urso
Committed by
Carlos Garcia Campos
Nov 03, 2012
Browse files
FormFieldChoice::updateSelection: Fixed wrong loop condition
parent
46fb3653
Changes
1
Hide whitespace changes
Inline
Side-by-side
poppler/Form.cc
View file @
d254174e
...
...
@@ -1198,7 +1198,7 @@ void FormFieldChoice::updateSelection() {
if
(
numSelected
==
0
)
{
obj1
.
initString
(
new
GooString
(
""
));
}
else
if
(
numSelected
==
1
)
{
for
(
int
i
=
0
;
numChoices
;
i
++
)
{
for
(
int
i
=
0
;
i
<
numChoices
;
i
++
)
{
if
(
choices
[
i
].
optionName
&&
choices
[
i
].
selected
)
{
obj1
.
initString
(
choices
[
i
].
optionName
->
copy
());
break
;
...
...
Write
Preview
Supports
Markdown
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