pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad6929
)
fixed compiler warning viewer.c:576, closes #55
author
Michael Göhler
<somebody.here@gmx.de>
Sun, 2 Nov 2014 16:02:20 +0000
(17:02 +0100)
committer
Michael Göhler
<somebody.here@gmx.de>
Sun, 2 Nov 2014 16:02:20 +0000
(17:02 +0100)
src/viewer.c
patch
|
blob
|
history
diff --git
a/src/viewer.c
b/src/viewer.c
index
447d3fe
..
2cf0f0e
100644
(file)
--- a/
src/viewer.c
+++ b/
src/viewer.c
@@
-573,7
+573,7
@@
void inline_display(WINDOW *window, const char *c, const int colors) {
// closing special char (or second backslash)
// only if not followed by :alnum:
if((stack->top)(stack, *i) &&
- (!isalnum(
*(i + 1)
) || *(i + 1) == '\0' || *i == '\\')) {
+ (!isalnum(
(int)i[1]
) || *(i + 1) == '\0' || *i == '\\')) {
switch(*i) {
// print escaped backslash