Correction d'un bug stupide mais vicieux

This commit is contained in:
tzim 2013-10-02 17:31:00 +00:00
parent e7640ef83b
commit 351fed02de

View file

@ -37,8 +37,10 @@ namespace DMX2
return value;
}
set {
if(value.Length==0) if(data.ContainsKey(index))
data.Remove(index);
if(value.Length==0) {
if(data.ContainsKey(index))
data.Remove(index);
}
else
data[index] = value;
}