Skip to content
Snippets Groups Projects
Commit 94996f92 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Fix local variable names

parent 240f9b0f
No related branches found
No related tags found
No related merge requests found
...@@ -39,8 +39,8 @@ Iteration::BaseRetValPtr Iteration::apply_internal(const FunExecContext& context ...@@ -39,8 +39,8 @@ Iteration::BaseRetValPtr Iteration::apply_internal(const FunExecContext& context
right_pos_expr_->apply(context); right_pos_expr_->apply(context);
if (range_right->get_value() != Position::Nowhere) { if (range_right->get_value() != Position::Nowhere) {
// Get absolute values for left and right extremes of the range. // Get absolute values for left and right extremes of the range.
int right = sc.get_abs_position(*range_end); int right = sc.get_abs_position(*range_right);
int left = sc.get_abs_position(*range_begin); int left = sc.get_abs_position(*range_left);
// Trim range to sentence boundaries // Trim range to sentence boundaries
if (left < 0) { if (left < 0) {
left = 0; left = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment