summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bluetooth-pairing-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bluetooth-pairing-dialog.c b/lib/bluetooth-pairing-dialog.c
index bf427da8..ab70d181 100644
--- a/lib/bluetooth-pairing-dialog.c
+++ b/lib/bluetooth-pairing-dialog.c
@@ -195,6 +195,8 @@ bluetooth_pairing_dialog_set_pin_entered (BluetoothPairingDialog *self,
guint i;
invisible = gtk_entry_get_invisible_char (GTK_ENTRY (priv->entry_pin));
+ if (invisible == 0)
+ invisible = '*';
str = g_string_new (NULL);
for (i = 0; i < entered; i++)