diff --git a/src/wreadln.c b/src/wreadln.c
index 7261bba418d2e86e0d8b91e9371df255ad0cd924..441e1ce589bb573d51e7551c26cc422ded187cf1 100644 (file)
--- a/src/wreadln.c
+++ b/src/wreadln.c
#endif
}
-/** returns the screen colum where the cursor is located */
+/** returns the screen column where the cursor is located */
static unsigned
cursor_column(const struct wreadln *wr)
{
/* turn off echo */
noecho();
- /* make shure the cursor is visible */
+ /* make sure the cursor is visible */
curs_set(1);
/* print prompt string */
if (prompt) {
waddstr(w, prompt);
waddstr(w, ": ");
}
- /* retrive y and x0 position */
+ /* retrieve y and x0 position */
getyx(w, wr.y, wr.x);
/* check the x1 value */
if (x1 <= wr.x || x1 > (unsigned)COLS)
#ifdef HAVE_GETMOUSE
case KEY_MOUSE: /* ignore mouse events */
#endif
- case ERR: /* ingnore errors */
+ case ERR: /* ignore errors */
break;
case TAB: