Commit acc3acfb authored by Jake Goldsborough's avatar Jake Goldsborough

fixing spacing of x var

parent 7843bf19
......@@ -140,7 +140,7 @@ impl Editor {
/// Get n'th next ocurrence of a given charecter (relatively to the cursor)
pub fn next_ocur(&self, c: char, n: usize) -> Option<usize> {
let mut dn = 0;
let mut x = self.x();
let mut x = self.x();
for (i, ch) in self.buffers.current_buffer()[self.y()].chars().skip(x).enumerate() {
if ch == c {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment