aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-06-07 23:31:52 +0000
committernyamatongwe <unknown>2005-06-07 23:31:52 +0000
commit4b0aa3b1fbf86f5af8256bd18c3aa12473e45c8b (patch)
tree820065065ecd1381c517612ba8554f9a6c04945d
parent095541ea32fda8c0c5a7455ebc7c13529ec3d611 (diff)
downloadscintilla-mirror-4b0aa3b1fbf86f5af8256bd18c3aa12473e45c8b.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);