diff options
author | Po Lu <luangruo@yahoo.com> | 2022-02-02 15:18:12 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-02-02 15:19:52 +0800 |
commit | e7047b4aba0fa5f3a511cb0688158400f02b1485 (patch) | |
tree | ca6013c11073b4d48501f0c910f28ed96383b3a3 /src | |
parent | e3e0deb86d2d1b94099a93284a96843e1a654503 (diff) | |
download | emacs-e7047b4aba0fa5f3a511cb0688158400f02b1485.tar.gz |
* src/nsselect.m (ns_get_foreign_selection): Fix GCC warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/nsselect.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsselect.m b/src/nsselect.m index 13ca9b9c442..a7ef9df0e0e 100644 --- a/src/nsselect.m +++ b/src/nsselect.m @@ -250,7 +250,7 @@ ns_get_foreign_selection (Lisp_Object symbol, Lisp_Object target) 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]) |