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



commit 0ce06ab8314c1d72f6b2af077ad6e6146f83cce7
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 b354c68..160af59 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -108,20 +108,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]