Codebase list mozc / 295dc0d
Fix a compiler warning by removing unnecessary max operation REF_BUG= REF_CL=184624766 REF_TIME=2018-02-06T12:12:53+09:00 REF_TIME_RAW=1517886773 +0900 Hiroyuki Komatsu 6 years ago
2 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2929
3030 MAJOR=2
3131 MINOR=23
32 BUILD=2797
32 BUILD=2798
3333 REVISION=102
3434 # This version represents the version of Mozc IME engine (converter, predictor,
3535 # etc.). This version info is included both in the Mozc server and in the Mozc
186186 candidates.focused_index() - candidates.candidate(0).index();
187187 if (candidates.candidate_size() >= focused_row &&
188188 candidates.candidate(focused_row).has_information_id()) {
189 const uint32 delay = std::max(0u, candidates.usages().delay());
190 infolist_window_->DelayShow(delay);
189 infolist_window_->DelayShow(candidates.usages().delay());
191190 } else {
192191 infolist_window_->DelayHide(kHideWindowDelay);
193192 }