pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f38c2f4
)
Fixed crash caused by invalid pandoc urls
author
Lukas Lueg
<lukas.lueg@gmail.com>
Sat, 11 Apr 2015 14:42:08 +0000
(16:42 +0200)
committer
Lukas Lueg
<lukas.lueg@gmail.com>
Sat, 11 Apr 2015 14:42:08 +0000
(16:42 +0200)
src/viewer.c
patch
|
blob
|
history
diff --git
a/src/viewer.c
b/src/viewer.c
index
91633e8
..
1b2e6b9
100644
(file)
--- a/
src/viewer.c
+++ b/
src/viewer.c
@@
-713,7
+713,7
@@
void inline_display(WINDOW *window, const wchar_t *c, const int colors) {
if (*i == L'!') i++;
- if (wcschr(i, L']')[1] == L'(') {
+ if (wcschr(i, L']')[1] == L'('
&& wcschr(i, L')')
) {
i++;
// turn higlighting and underlining on