diff options
author | Phil Jones <philj56@gmail.com> | 2021-11-01 18:23:02 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2021-11-01 18:24:15 +0000 |
commit | a2197fe121e5de992a041b4d11495600cd7204ce (patch) | |
tree | f03a67968b0388620adf8a355c3e842d0f9d8d16 /src | |
parent | 9508818e172475490d51cb10effc22b45b9f64e7 (diff) |
Change default password character to full-stop.
Diffstat (limited to 'src')
-rw-r--r-- | src/entry.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
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} |