summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-01 16:54:48 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-01 16:54:48 (EDT)
commit9beb0250d972e8c05e9aed396daf6dc87a31e2a7 (patch)
tree14e4118d715e2dfe9a1540a4611e285e386d53a8 /src
parent696a6c5fa1aae3da1d39ab0b380c7afcb1c7c4fe (diff)
downloadmarquee-9beb0250d972e8c05e9aed396daf6dc87a31e2a7.zip
marquee-9beb0250d972e8c05e9aed396daf6dc87a31e2a7.tar.gz
marquee-9beb0250d972e8c05e9aed396daf6dc87a31e2a7.tar.bz2
view-source: Fix unescaped "%" in format string
Fixes: CC src/schemes/marquee-view-source.o src/schemes/view-source.c: In function ‘respond’: src/schemes/view-source.c:75:4: warning: unknown conversion type character ‘;’ in format [-Wformat=] uri, escaped_data), -1, g_free); ^
Diffstat (limited to 'src')
-rw-r--r--src/schemes/view-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schemes/view-source.c b/src/schemes/view-source.c
index 8fa1d63..28c38ca 100644
--- a/src/schemes/view-source.c
+++ b/src/schemes/view-source.c
@@ -50,7 +50,7 @@ typedef struct {
"prism.js\"></script>\n" \
"</head>\n" \
"<body style=\"margin: 0;\">\n" \
- "<pre style=\"overflow: visible; width: 100%; " \
+ "<pre style=\"overflow: visible; width: 100%%; " \
"margin: 0;\">\n" \
"<code class=\"language-markup line-numbers\" "\
"style=\"overflow: visible;\">" \