Fix IPv6 favorites in q3_ui
This does however allow favorites to contain hostnames which was explicitly not allowed before.
This commit is contained in:
parent
81f92fe7f0
commit
75598f1a2b
2 changed files with 2 additions and 7 deletions
|
@ -82,8 +82,8 @@ void Favorites_Add( void )
|
|||
return;
|
||||
}
|
||||
|
||||
// use first empty or non-numeric available slot
|
||||
if ((adrstr[0] < '0' || adrstr[0] > '9' ) && !best)
|
||||
// use first empty available slot
|
||||
if (!adrstr[0] && !best)
|
||||
best = i+1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue