check for correct prefix in hex property decoding
This commit is contained in:
parent
a3a3b3be1a
commit
143ba20191
@ -109,7 +109,7 @@ void PropertyWindow::SetProperty()
|
||||
//0xC0FFEE
|
||||
v = value.Substr(2).ToNumber<unsigned int>(Format::Hex());
|
||||
}
|
||||
else if(value.length() > 1 && value.BeginsWith("0"))
|
||||
else if(value.length() > 1 && value.BeginsWith("#"))
|
||||
{
|
||||
//#C0FFEE
|
||||
v = value.Substr(1).ToNumber<unsigned int>(Format::Hex());
|
||||
|
Loading…
Reference in New Issue
Block a user