Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Feb 12, 2019
2 parents 319909f + 0ea425d commit 27a2e81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ mouse_button_rel(x, y)
}

/*
* Read an integer. Return the integer and set *pterm to the terminating char.
* Read a decimal integer. Return the integer and set *pterm to the terminating char.
*/
static int
getcc_int(pterm)
Expand Down
5 changes: 4 additions & 1 deletion mark.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ gomark(c)
int c;
{
struct mark *m;
struct scrpos scrpos;

m = getmark(c);
if (m == NULL)
Expand All @@ -278,6 +279,8 @@ gomark(c)

mark_get_ifile(m);

/* Save scrpos; if it's LASTMARK it could change in edit_ifile. */
scrpos = m->m_scrpos;
if (m->m_ifile != curr_ifile)
{
/*
Expand All @@ -287,7 +290,7 @@ gomark(c)
return;
}

jump_loc(m->m_scrpos.pos, m->m_scrpos.ln);
jump_loc(scrpos.pos, scrpos.ln);
}

/*
Expand Down

0 comments on commit 27a2e81

Please sign in to comment.