Patch level :10.0 288 in avanti

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
migliorato l'uso dei listbox in caso non abbiano un item vuoto


git-svn-id: svn://10.65.10.50/trunk@18764 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-04-22 09:58:36 +00:00
parent 50f055c05f
commit 6e5db1d94b

View File

@ -4764,8 +4764,7 @@ const char* TList_field::win2raw(const char* data) const
if (pos < 0 && (str.blank() || str == "0"))
{
str = codes.get(0); // Uso codes come riferimento per blank
if (str.blank() || str == "0")
pos = 0;
pos = 0;
}
CHECKS(pos >= 0, "Unknown listbox value:", data);