projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Meh, apparently MSVC doesn't accept 'or' in preprocessor defines either :P
[quassel.git]
/
src
/
uisupport
/
tabcompleter.cpp
diff --git
a/src/uisupport/tabcompleter.cpp
b/src/uisupport/tabcompleter.cpp
index
b9a6fe2
..
93a0fa4
100644
(file)
--- a/
src/uisupport/tabcompleter.cpp
+++ b/
src/uisupport/tabcompleter.cpp
@@
-116,7
+116,7
@@
void TabCompleter::complete() {
nextCompletion++;
// we're completing the first word of the line
nextCompletion++;
// we're completing the first word of the line
- if(inputLine->
text().length
() == lastCompletionLength) {
+ if(inputLine->
cursorPosition
() == lastCompletionLength) {
inputLine->insert(nickSuffix);
lastCompletionLength += nickSuffix.length();
}
inputLine->insert(nickSuffix);
lastCompletionLength += nickSuffix.length();
}