diff options
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/PlatWin.cxx | 2 | 
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); | 
