aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Hotline/Assets.xcassets/hotlineRed.colorset/Contents.json38
-rw-r--r--Hotline/Hotline/HotlineClient.swift2
2 files changed, 1 insertions, 39 deletions
diff --git a/Hotline/Assets.xcassets/hotlineRed.colorset/Contents.json b/Hotline/Assets.xcassets/hotlineRed.colorset/Contents.json
deleted file mode 100644
index 1f6e488..0000000
--- a/Hotline/Assets.xcassets/hotlineRed.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "0x00",
- "green" : "0x00",
- "red" : "0xE1"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "0x00",
- "green" : "0x00",
- "red" : "0xE1"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/Hotline/Hotline/HotlineClient.swift b/Hotline/Hotline/HotlineClient.swift
index 2048149..7006c59 100644
--- a/Hotline/Hotline/HotlineClient.swift
+++ b/Hotline/Hotline/HotlineClient.swift
@@ -490,7 +490,7 @@ class HotlineClient: NetSocketDelegate {
}
var t = HotlineTransaction(type: .oldPostNews)
- t.setFieldString(type: .data, val: text)
+ t.setFieldString(type: .data, val: text, encoding: .macOSRoman)
self.sendPacket(t)
}