FListView sort bug fix for negative numbers
This commit is contained in:
parent
851e3db49c
commit
8ea63da899
|
@ -54,7 +54,12 @@ long firstNumberFromString (const FString& str)
|
|||
while ( iter != last )
|
||||
{
|
||||
if ( wchar_t(*iter) >= L'0' && wchar_t(*iter) <= L'9' )
|
||||
{
|
||||
if ( wchar_t(*(iter - 1)) == L'-' )
|
||||
--iter;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
++iter;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue