OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d308b72
)
varをletに変更
author
masakih
<masakih@users.sourceforge.jp>
Sat, 14 Oct 2017 15:44:46 +0000
(
00:44
+0900)
committer
masakih
<masakih@users.sourceforge.jp>
Sat, 14 Oct 2017 15:44:46 +0000
(
00:44
+0900)
KCD/DeckBuilder.swift
patch
|
blob
|
history
diff --git
a/KCD/DeckBuilder.swift
b/KCD/DeckBuilder.swift
index
f41c401
..
430db8f
100644
(file)
--- a/
KCD/DeckBuilder.swift
+++ b/
KCD/DeckBuilder.swift
@@
-20,8
+20,7
@@
final class DeckBuilder {
func openDeckBuilder() {
// use for encodeURIComponent() of Javascript
- var characterSet = CharacterSet.alphanumerics
- characterSet.insert(charactersIn: "-_.!~*'()")
+ let characterSet = CharacterSet.alphanumerics.union(CharacterSet(charactersIn: "-_.!~*'()"))
let desc = structure.deckDescription