fixed jumping

development
Michael Ochmann 8 years ago
parent 3a13b3820f
commit 1a10dbf73f
  1. 4
      src/modes/Edit.cpp

@ -101,8 +101,8 @@ namespace groove {
this->editor.offset = 0; this->editor.offset = 0;
break; break;
case 'G': case 'G':
this->editor.y = this->editor.buffer->size(); this->editor.y = this->editor.buffer->size() - 1;
this->editor.offset = this->editor.buffer->size() - LINES + 2; this->editor.offset = this->editor.buffer->size() - LINES + 1;
break; break;
} }
} }

Loading…
Cancel
Save