diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 2a9b805fe..42495081c 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -1671,7 +1671,6 @@ - (BOOL) prepareForDragOperation:(id) sender { NSMutableArray *items = [NSMutableArray array]; NSCharacterSet *allowedChars = [NSCharacterSet URLQueryAllowedCharacterSet]; for (NSURL *url in urls) { - NSCharacterSet *allowedChars = c1; if ([url isFileURL]) url = [url filePathURL]; NSString *absoluteString = url.absoluteString; NSString *q = [absoluteString stringByAddingPercentEncodingWithAllowedCharacters:allowedChars];