aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-06-07 23:31:52 +0000
committernyamatongwe <devnull@localhost>2005-06-07 23:31:52 +0000
commita92336d84a16e6dbb2f0d7bcd406c809de3fadf1 (patch)
tree820065065ecd1381c517612ba8554f9a6c04945d
parente44765269168801492b31a824ac6ba8a2030dce6 (diff)
downloadscintilla-mirror-a92336d84a16e6dbb2f0d7bcd406c809de3fadf1.tar.gz
Patch from Blair McGlashan fixes failure to display autocompletion list
text on original Windows XP.
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index db572a5dd..8afa93bd2 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -1325,7 +1325,7 @@ void ListBoxX::SetList(const char *list, char separator, char typesep) {
int count = lti.Count();
::SendMessage(lb, LB_INITSTORAGE, count, 0);
for (int j=0; j<count; j++) {
- ::SendMessage(lb, LB_ADDSTRING, 0, 0);
+ ::SendMessage(lb, LB_ADDSTRING, 0, j+1);
}
}
SetRedraw(true);