Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve rendition-matching prediction heuristic.

  • Loading branch information...
commit bf8a29f783ceab86bac8761099b81d832c7ff68d 1 parent 63e66e9
@keithw authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/frontend/terminaloverlay.cc
View
10 src/frontend/terminaloverlay.cc
@@ -534,6 +534,16 @@ void PredictionEngine::cull( const Framebuffer &fb )
}
}
+ /* match rest of row to the actual renditions */
+ {
+ const Renditions &actual_renditions = fb.get_cell( i->row_num, j->col )->renditions;
+ for ( overlay_cells_type::iterator k = j;
+ k != i->overlay_cells.end();
+ k++ ) {
+ k->replacement.renditions = actual_renditions;
+ }
+ }
+
/* no break */
case CorrectNoCredit:
j->reset();
Please sign in to comment.
Something went wrong with that request. Please try again.