summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-10-02 17:39:18 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-10-02 17:39:18 +0200
commit5ae665b2535b2ff174bd9af357afc337748a57a3 (patch)
tree22788d8f1648ce17825d89680257456196a6ef57 /src
parentbed11424b04f39f66aefef1cdea22a157a0ae042 (diff)
downloadpoezio-5ae665b2535b2ff174bd9af357afc337748a57a3.tar.gz
poezio-5ae665b2535b2ff174bd9af357afc337748a57a3.tar.bz2
poezio-5ae665b2535b2ff174bd9af357afc337748a57a3.tar.xz
poezio-5ae665b2535b2ff174bd9af357afc337748a57a3.zip
Fix completion case-sensitiveness
Diffstat (limited to 'src')
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index fb99416c..4f2c68c6 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -967,7 +967,7 @@ class Input(Win):
begin = self.text[:pos]
hit_list = [] # list of matching nicks
for word in word_list:
- if word.lower().startswith(begin):
+ if word.lower().startswith(begin.lower()):
hit_list.append(word)
if len(hit_list) == 0:
return