Merge branch '0.6.x'

This commit is contained in:
Andrzej Rybczak
2015-02-11 15:43:39 +01:00
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -17,6 +17,7 @@ ncmpcpp-0.7 (????-??-??)
ncmpcpp-0.6.3 (????-??-??) ncmpcpp-0.6.3 (????-??-??)
* Fix floating point exception when adding a specific number of random items. * Fix floating point exception when adding a specific number of random items.
* Passwords are no longer added to the input history.
ncmpcpp-0.6.2 (2014-12-13) ncmpcpp-0.6.2 (2014-12-13)

View File

@@ -733,7 +733,7 @@ std::string Window::prompt(const std::string &base, size_t width, bool encrypted
curs_set(0); curs_set(0);
if (input != nullptr) if (input != nullptr)
{ {
if (input[0] != 0) if (!encrypted && input[0] != 0)
add_history(input); add_history(input);
result = input; result = input;
free(input); free(input);