pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8726c79
)
no fading if next/prev slide is not availabe
author
Michael Göhler
<somebody.here@gmx.de>
Wed, 17 Sep 2014 22:36:28 +0000
(
00:36
+0200)
committer
Michael Göhler
<somebody.here@gmx.de>
Wed, 17 Sep 2014 22:36:28 +0000
(
00:36
+0200)
viewer.c
patch
|
blob
|
history
diff --git
a/viewer.c
b/viewer.c
index
49b61eb
..
ba76f2f
100644
(file)
--- a/
viewer.c
+++ b/
viewer.c
@@
-259,6
+259,8
@@
int ncurses_display(deck_t *deck, int notrans, int nofade, int invert) {
if(slide->prev) {
slide = slide->prev;
sc--;
+ } else {
+ fade = 0;
}
break;
@@
-272,6
+274,8
@@
int ncurses_display(deck_t *deck, int notrans, int nofade, int invert) {
if(slide->next) {
slide = slide->next;
sc++;
+ } else {
+ fade = 0;
}
break;