diff options
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/capturer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/capturer.cc b/remoting/host/capturer.cc index 789723b..331f9c7 100644 --- a/remoting/host/capturer.cc +++ b/remoting/host/capturer.cc @@ -43,7 +43,7 @@ void Capturer::FinishCapture(Task* done_task) { delete done_task; // Select the next buffer to be the current buffer. - current_buffer_ = ++current_buffer_ % kNumBuffers; + current_buffer_ = (current_buffer_ + 1) % kNumBuffers; } } // namespace remoting |