X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=src%2Furl.c;h=0e49b49e3b7c3d8a4ef88c6215f7fe158ad2455b;hb=94a28d11cee6db33d9c456b395ed59f2631b08e5;hp=a7a5c0c7435335901841c6b67d65f44c0de326b0;hpb=4b8ad1b3b464836eca2e876dd418a8e8d87bd721;p=smdp.git diff --git a/src/url.c b/src/url.c index a7a5c0c..0e49b49 100644 --- a/src/url.c +++ b/src/url.c @@ -1,6 +1,6 @@ /* * Functions necessary to handle pandoc URLs. - * Copyright (C) 2014 Michael Goehler + * Copyright (C) 2016 Michael Goehler * * This file is part of mdp. * @@ -178,9 +178,9 @@ int url_count_inline(const wchar_t *line) { return count; } -int url_len_inline(const wchar_t *text) { +int url_len_inline(const wchar_t *value) { int count = 0; - const wchar_t *i = text; + const wchar_t *i = value; for (; *i; i++) { if (*i == '\\') {