Code

screen_utils: simplified call to wreadln_masked()
authorMax Kellermann <max@duempel.org>
Mon, 22 Sep 2008 08:39:01 +0000 (10:39 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 22 Sep 2008 08:39:01 +0000 (10:39 +0200)
commit564ec056a44fa248ba2c3b2edc7f9be980bb20ad
tree0b0d1bcb0825d56341297356a7fed014728509fa
parentb3adcbe42bfcd5330748d599c88aca77b942dae4
screen_utils: simplified call to wreadln_masked()

If prompt is NULL, do not add a second call to wreadln_masked() with a
literal string, but assign this literal string to the variable
"prompt".  This saves several bytes in the compiled binary.
src/screen_utils.c