﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2148	Crash with _GUICtrlListBox_InsertString()	Valik	guinness	"The following code crashes Autoit (taken from #2147):
{{{
#include <GUIListBox.au3>

GUICreate(""Test"", 200, 320)
Local $list=GUICtrlCreateList("""", 5, 2, 190, 280)
Local $button=GUICtrlCreateButton(""Do It!"", 40, 290, 120, 25)
GUISetState()

Global $msg
While 1
	$msg = GUIGetMsg()
	If $msg = -3 Then
		Exit
	ElseIf $msg = $button Then
		_GUICtrlListBox_InsertString($list, 1)	; Crash
	EndIf
WEnd
}}}
Changing the marked line to ''_GUICtrlListBox_InsertString($list, String(1))'' fixes the crash."	Bug	closed	3.3.9.5	Standard UDFs	3.3.8.1	None	Fixed		
