[gnome-shell] network: fix a variable name



commit 42a5531f1588ae3063e7d8ff7642e9f81c13afbd
Author: Dan Winship <danw gnome org>
Date:   Wed Apr 27 09:05:39 2011 -0400

    network: fix a variable name

 js/ui/status/network.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 49cb3f0..d56c0b1 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1285,7 +1285,7 @@ NMDeviceWireless.prototype = {
             let menuPos = 0;
             for (pos = 0;
                  pos < this._networks.length &&
-                 this._networkSortFunction(this._networks[i], apObj) < 0; ++pos) {
+                 this._networkSortFunction(this._networks[pos], apObj) < 0; ++pos) {
                 if (this._networks[pos] != this._activeNetwork)
                     menuPos++;
             }



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