mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[dump] goto next_iteration instead of continue.
This commit is contained in:
parent
023991e5c5
commit
c18525f481
@ -100,7 +100,7 @@ DUMP_FUNCTION_SPECIALIZED(struct document *document, struct dump_output *out)
|
|||||||
if (c == UCS_NO_CHAR) {
|
if (c == UCS_NO_CHAR) {
|
||||||
/* This is the second cell of
|
/* This is the second cell of
|
||||||
* a double-cell character. */
|
* a double-cell character. */
|
||||||
continue;
|
goto next_iteration;
|
||||||
}
|
}
|
||||||
#endif /* DUMP_CHARSET_UTF8 */
|
#endif /* DUMP_CHARSET_UTF8 */
|
||||||
|
|
||||||
@ -155,7 +155,7 @@ DUMP_FUNCTION_SPECIALIZED(struct document *document, struct dump_output *out)
|
|||||||
if (c == ' ') {
|
if (c == ' ') {
|
||||||
/* Count spaces. */
|
/* Count spaces. */
|
||||||
white++;
|
white++;
|
||||||
continue;
|
goto next_iteration;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Print spaces if any. */
|
/* Print spaces if any. */
|
||||||
@ -177,6 +177,10 @@ DUMP_FUNCTION_SPECIALIZED(struct document *document, struct dump_output *out)
|
|||||||
if (write_char(c, out))
|
if (write_char(c, out))
|
||||||
return -1;
|
return -1;
|
||||||
#endif /* !DUMP_CHARSET_UTF8 */
|
#endif /* !DUMP_CHARSET_UTF8 */
|
||||||
|
|
||||||
|
#if defined(DUMP_CHARSET_UTF8) || defined(DUMP_COLOR_MODE_NONE)
|
||||||
|
next_iteration:
|
||||||
|
#endif // DUMP_CHARSET_UTF8 || DUMP_COLOR_MODE_NONE
|
||||||
if (dumplinks) {
|
if (dumplinks) {
|
||||||
if (is_end_of_link(document, x, y, ¤t_link_number, &next_link)) {
|
if (is_end_of_link(document, x, y, ¤t_link_number, &next_link)) {
|
||||||
write_end_of_link(out);
|
write_end_of_link(out);
|
||||||
|
Loading…
Reference in New Issue
Block a user