[gnome-control-center] Network: fix the build



commit 97982f395e393d166a46584c61fc0a0f4fd67937
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu May 26 07:05:00 2011 -0400

    Network: fix the build

 panels/network/cc-network-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 3924ffc..51fa2c6 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -2679,7 +2679,7 @@ generate_wep_key (CcNetworkPanel *panel)
         for (i = 0; i < 10; i++) {
                 gint digit;
                 digit = g_random_int_range (0, 16);
-                key[i] = hexdigits[d];
+                key[i] = hexdigits[digit];
         }
         key[10] = 0;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]