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
Donald Haase
Cockatrice
Commits
49b3568b
Commit
49b3568b
authored
Jul 23, 2014
by
Fabio Bas
Browse files
small fix: moving the url length check in the inner loop
parent
b40abfa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/priceupdater.cpp
View file @
49b3568b
...
...
@@ -145,13 +145,13 @@ void DBPriceUpdater::updatePrices()
bNotFirst
=
true
;
}
muidMap
.
insert
(
muid
,
cards
[
i
]);
}
if
(
q
.
length
()
>
240
)
{
urls
.
append
(
base
+
q
);
bNotFirst
=
false
;
q
=
""
;
if
(
q
.
length
()
>
240
)
{
urls
.
append
(
base
+
q
);
bNotFirst
=
false
;
q
=
""
;
}
}
}
if
(
q
.
length
()
>
0
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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