diff options
-rw-r--r-- | patches/2.dmenu-password-5.0.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/2.dmenu-password-5.0.diff b/patches/2.dmenu-password-5.0.diff index 7a187b9..1cfaa61 100644 --- a/patches/2.dmenu-password-5.0.diff +++ b/patches/2.dmenu-password-5.0.diff @@ -59,7 +59,7 @@ index 65f25ce..ad8f63b 100644 - drw_text(drw, x, 0, w, bh, lrpad / 2, text, 0); + if (passwd) { + censort = ecalloc(1, sizeof(text)); -+ memset(censort, '.', strlen(text)); ++ memset(censort, '*', strlen(text)); + drw_text(drw, x, 0, w, bh, lrpad / 2, censort, 0); + free(censort); + } else drw_text(drw, x, 0, w, bh, lrpad / 2, text, 0); |