Skip to content
Permalink
Browse files

Fix arguments with "=" being cut incorrectly

  • Loading branch information...
alejx committed Feb 22, 2019
1 parent 772aedb commit 59e4ba3e61791880674e14798e845511d5c1b627
Showing with 1 addition and 1 deletion.
  1. +1 −1 iina/AppDelegate.swift
@@ -510,7 +510,7 @@ struct CommandLineStatus {
mpvArguments.removeAll()
iinaArguments.removeAll()
for arg in args {
let splitted = arg.dropFirst(2).split(separator: "=", maxSplits: 2)
let splitted = arg.dropFirst(2).split(separator: "=", maxSplits: 1)
let name = String(splitted[0])
if (name.hasPrefix("mpv-")) {
// mpv args

0 comments on commit 59e4ba3

Please sign in to comment.
You can’t perform that action at this time.