Просмотр исходного кода

bitwarden: fix message string containing percents

Previously, this would barf if any of the strings in the hash table
contained percent formating symbols.
Sean Farley 7 лет назад
Родитель
Сommit
3bcbad26b9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bitwarden.el

+ 1 - 1
bitwarden.el

@@ -257,7 +257,7 @@ non-interactively)."
     (cond
      ((eq err 0)
       (if print-message
-          (message pass)
+          (message "%s" pass)
         pass))
      (t
       (bitwarden--message "%s" pass print-message)