diff options
-rw-r--r-- | doc/greetd-mini-wl-greeter.1.scd | 2 | ||||
-rw-r--r-- | src/entry.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/greetd-mini-wl-greeter.1.scd b/doc/greetd-mini-wl-greeter.1.scd index 54f1dfd..7d107c3 100644 --- a/doc/greetd-mini-wl-greeter.1.scd +++ b/doc/greetd-mini-wl-greeter.1.scd @@ -55,7 +55,7 @@ All options which take a color expect a 3- or 6-digit hex code, e.g. F9A733. Point size of the password text. *-C, --password-character* <character> - Character to use to hide the password. Defaults to '·'. + Character to use to hide the password. Defaults to full-stop. *-n, --width-characters* <value> Make the password entry box big enough to fit this many characters. diff --git a/src/entry.c b/src/entry.c index 1f1a5b8..fe2953c 100644 --- a/src/entry.c +++ b/src/entry.c @@ -165,7 +165,7 @@ void calculate_font_extents(struct entry *entry, uint32_t scale) * To calculate the size of the password box, we do the following: * 1. Load the font we're going to use. * 2. Create a string of the desired length using the specified - * password character, e.g. "·······". + * password character, e.g. ".......". * 3. Render the string with Pango in some abstract layout. * 4. Measure the bounding box of the layout. * 5. Add on the size of the border / outline. @@ -510,7 +510,7 @@ int main(int argc, char *argv[]) .font_size = 24, .padding = 8, .tight_layout = true, - .password_character = L'·', + .password_character = '.', .num_characters = 12, .background_color = {0.106, 0.114, 0.118, 1.0}, .foreground_color = {1.0, 1.0, 1.0, 1.0} |