yaz/commit
minor
author | Michiel Hildebrand |
---|---|
Tue Nov 8 01:08:57 2011 +0100 | |
committer | Michiel Hildebrand |
Tue Nov 8 01:08:57 2011 +0100 | |
commit | b545f2d6bded09c55283b3976158761d7e744825 |
tree | 3cf5408938d0c0f01528fb82e3470ccbf7766f80 |
parent | 31d62264d117631f634b9d37e8b290ef11d05a87 |
Diff style: patch stat
diff --git a/applications/yaz_shot_annotation.pl b/applications/yaz_shot_annotation.pl index 7ee4e99..47b0bd8 100644 --- a/applications/yaz_shot_annotation.pl +++ b/applications/yaz_shot_annotation.pl @@ -323,7 +323,7 @@ http_data_shot_suggest_tags(Request) :- annotations_in_shot([], _, _, []). annotations_in_shot([A|T], Start, End, As) :- A = annotation(_, Time, _End, _, _), - ( Time >= Start, Time =< End + ( Time >= Start-1, Time =< End+1 -> As = [A|Rest], annotations_in_shot(T, Start, End, Rest) ; Time < Start