projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initial port of the mainwindow
[lttv.git]
/
lttv
/
modules
/
gui
/
lttvwindow
/
lttvwindow
/
timebar.c
diff --git
a/lttv/modules/gui/lttvwindow/lttvwindow/timebar.c
b/lttv/modules/gui/lttvwindow/lttvwindow/timebar.c
index 9673ec669a97c551f9054f2cd2eaeebfe48f8bd3..0395b81484e765f05b3f063882c86b7505c29c18 100644
(file)
--- a/
lttv/modules/gui/lttvwindow/lttvwindow/timebar.c
+++ b/
lttv/modules/gui/lttvwindow/lttvwindow/timebar.c
@@
-242,15
+242,9
@@
void timebar_set_minmax_time(Timebar *timebar,
) {
return;
}
) {
return;
}
-
- if (min_time != NULL) {
- timebar->min_time = *min_time;
- }
-
- if (max_time != NULL) {
- timebar->max_time = *max_time;
- }
-
+ /* null-checked already */
+ timebar->min_time = *min_time;
+ timebar->max_time = *max_time;
if (ltt_time_compare(timebar->min_time, timebar->max_time) == 0) {
if (ltt_time_compare(timebar->min_time, timebar->max_time) == 0) {
This page took
0.023411 seconds
and
4
git commands to generate.