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
29 | 29 |
|
30 | 30 |
MAJOR=2
|
31 | 31 |
MINOR=23
|
32 | |
BUILD=2797
|
|
32 |
BUILD=2798
|
33 | 33 |
REVISION=102
|
34 | 34 |
# This version represents the version of Mozc IME engine (converter, predictor,
|
35 | 35 |
# etc.). This version info is included both in the Mozc server and in the Mozc
|
186 | 186 |
candidates.focused_index() - candidates.candidate(0).index();
|
187 | 187 |
if (candidates.candidate_size() >= focused_row &&
|
188 | 188 |
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());
|
191 | 190 |
} else {
|
192 | 191 |
infolist_window_->DelayHide(kHideWindowDelay);
|
193 | 192 |
}
|