summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-08-02 15:25:51 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2015-08-03 21:30:20 (GMT)
commitc7498930cebc398765caf240d03b1bb157b72daf (patch)
tree2af336a9aa69ec875bbec389409070f33c2d7205
parentf771b7e090d1d289c7c60885a8639b58f2e7ad66 (diff)
downloadlibnslayout-c7498930cebc398765caf240d03b1bb157b72daf.tar.gz
libnslayout-c7498930cebc398765caf240d03b1bb157b72daf.tar.bz2
Tweak tester's remaining string iterator.
-rw-r--r--dev/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/main.c b/dev/main.c
index ca87816..9e4e578 100644
--- a/dev/main.c
+++ b/dev/main.c
@@ -11,9 +11,9 @@
*/
-static void lwc_iterator(lwc_string *str, void *pw)
+static void nsl_test_lwc_iterator(lwc_string *str, void *pw)
{
- printf("[%3u] %.*s", str->refcnt,
+ printf(" [%3u] %.*s\n", str->refcnt,
(int)lwc_string_length(str),
lwc_string_data(str));
}
@@ -24,8 +24,8 @@ int main(void)
test_loader("test-writing-mode.html", CSS_MEDIA_ALL, 15);
nslayout_fini();
- printf("Reamining lwc strings:\n");
- lwc_iterate_strings(lwc_iterator, NULL);
+ printf("Remaining lwc strings:\n");
+ lwc_iterate_strings(nsl_test_lwc_iterator, NULL);
return EXIT_SUCCESS;
}