[gnome-bluetooth/gnome-3-0] applet: Prepend zeros for SSP passkey display
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/gnome-3-0] applet: Prepend zeros for SSP passkey display
- Date: Wed, 25 May 2011 15:39:46 +0000 (UTC)
commit 4a56f7bb5a12e191fd694caaa1d5e02cc85f7f27
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 25 16:37:49 2011 +0100
applet: Prepend zeros for SSP passkey display
http://thread.gmane.org/gmane.linux.bluez.kernel/13216
https://bugzilla.gnome.org/show_bug.cgi?id=646253
applet/agent.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applet/agent.c b/applet/agent.c
index 24928e7..87417ad 100644
--- a/applet/agent.c
+++ b/applet/agent.c
@@ -387,7 +387,7 @@ confirm_request (BluetoothApplet *applet,
{
char *text, *line;
- text = g_strdup_printf("%d", pin);
+ text = g_strdup_printf("%06d", pin);
confirm_dialog(applet, path, name, long_name, text);
g_free(text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]