Permalink
Browse files

o Uh, fix neglect to remember that we already have the item.

  • Loading branch information...
1 parent e8f93c3 commit ea406eb4d9e14766287d23692a1606d46281c08d @hzeller committed Oct 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 buffer-thread.cc
View
1 buffer-thread.cc
@@ -37,6 +37,7 @@ void BufferThread::EnqueueWork(ConversionBuffer *buffer) {
for (WorkQueue::iterator it = queue_.begin(); it != queue_.end(); ++it) {
if (it->buffer == buffer) {
it->goal = goal; // Already in queue; update goal.
+ found = true;
break;
}
}

0 comments on commit ea406eb

Please sign in to comment.