* src/nsselect.m (ns_get_foreign_selection): Fix GCC warning.

This commit is contained in:
Po Lu 2022-02-02 15:18:12 +08:00
parent e3e0deb86d
commit e7047b4aba

View file

@ -250,7 +250,7 @@ Updated by Christian Limpach (chris@nice.ch)
NSString *type;
NSEnumerator *e = [[pb types] objectEnumerator];
while (type = [e nextObject])
while ((type = [e nextObject]))
{
NSString *val = [typeLookup valueForKey:type];
if (val && ! [types containsObject:val])