cfdisk: fix typo (undeclared variable since b1f58330)

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
This commit is contained in:
Ruediger Meier 2014-03-14 13:00:01 +01:00
parent 422f93bfbb
commit f0fb84ab36
1 changed files with 2 additions and 2 deletions

View File

@ -1231,8 +1231,8 @@ static ssize_t ui_get_string(struct cfdisk *cf, const char *prompt,
#else
if (i + 1 < (ssize_t) len && isprint(c)) {
mvaddch(ln, cl + cells, c);
str[i++] = c;
str[i] = '\0';
buf[i++] = c;
buf[i] = '\0';
cells++;
}
#endif