View Issue Details

IDProjectCategoryView StatusLast Update
0006301Multi Theft Auto : San AndreasClientpublic2011-08-04 17:59
ReporterTheGTAAssigned Tox86 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.1Fixed in Version1.1 
Summary0006301: guiComboBoxGetItemText(combo, -1) crashes
Description

If you execute the function using those arguments, MTA crashes.

Steps To Reproduce

CLIENTSIDE:

local combo = guiCreateComboBox(0, 0, 100, 100, "", false);
guiComboBoxGetItemText(combo, -1);

TagsNo tags attached.

Activities

Bpb_Xommko

2011-08-03 15:39

viewer   ~~0014109

And what do you want? -1 is not an item, it is not meant to be set, so don't use it.

x86

2011-08-03 15:42

administrator   ~~0014110

-1 is the title of guiCreateComboBox ( ) which is empty.

Picard

2011-08-04 17:58

updater   ~~0014131

Issue automatically marked as fixed by mantisbot ( Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=2939 )

Issue History

Date Modified Username Field Change