[network-manager-applet/NETWORKMANAGER_APPLET_0_7] applet: Fix a few typos found by daierxin gmail com



commit ea816332eedaabc688c5c8e1295713dd25ad2ebe
Author: Tambet Ingo <tambet gmail com>
Date:   Thu Sep 17 09:58:56 2009 +0300

    applet: Fix a few typos found by daierxin gmail com 

 src/applet.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index ed2c923..3e3c3c6 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -107,20 +107,20 @@ applet_get_best_activating_connection (NMApplet *applet, NMDevice **device)
 		}
 
 		if (NM_IS_DEVICE_WIFI (best_dev)) {
-			if (NM_IS_DEVICE_ETHERNET (candidate)) {
+			if (NM_IS_DEVICE_ETHERNET (candidate_dev)) {
 				best_dev = candidate_dev;
 				best = candidate;
 			}
 		} else if (NM_IS_CDMA_DEVICE (best_dev)) {
-			if (   NM_IS_DEVICE_ETHERNET (candidate)
-			    || NM_IS_DEVICE_WIFI (candidate)) {
+			if (   NM_IS_DEVICE_ETHERNET (candidate_dev)
+			    || NM_IS_DEVICE_WIFI (candidate_dev)) {
 				best_dev = candidate_dev;
 				best = candidate;
 			}
 		} else if (NM_IS_GSM_DEVICE (best_dev)) {
-			if (   NM_IS_DEVICE_ETHERNET (candidate)
-			    || NM_IS_DEVICE_WIFI (candidate)
-			    || NM_IS_CDMA_DEVICE (candidate)) {
+			if (   NM_IS_DEVICE_ETHERNET (candidate_dev)
+			    || NM_IS_DEVICE_WIFI (candidate_dev)
+			    || NM_IS_CDMA_DEVICE (candidate_dev)) {
 				best_dev = candidate_dev;
 				best = candidate;
 			}



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