projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed the outgoing transitions to not delay needlessly when there is no stop function.
[dosdemo]
/
src
/
screen.c
diff --git
a/src/screen.c
b/src/screen.c
index
54cd3e2
..
927903b
100644
(file)
--- a/
src/screen.c
+++ b/
src/screen.c
@@
-117,11
+117,8
@@
int scr_change(struct screen *s, long trans_time)
trans_dur = 0;
}
- if(cur) {
- if(cur->stop) {
- cur->stop(trans_dur);
- }
-
+ if(cur && cur->stop) {
+ cur->stop(trans_dur);
prev = cur;
next = s;
} else {