oops. fix for previous commit.
This commit is contained in:
1 parent
4943dea1d3
commit
d3b4be9c56
1 file changed
+1
-1
+1
-1
@@ -415,7 +415,7 @@ string Window::GetString(const string &base, size_t length, size_t width, bool e
|
||||
|
||||
mvwhline(itsWindow, y, minx, 32, width+1);
|
||||
|
||||
if (encrypted)
|
||||
if (!encrypted)
|
||||
mvwprintw(itsWindow, y, minx, "%ls", tmp.substr(beginning, width+1).c_str());
|
||||
else
|
||||
mvwhline(itsWindow, y, minx, '*', maxx-minx);
|
||||
|
||||
Reference in new issue
Block a user