RTF reader: remove debugging trace left in by accident.

This commit is contained in:
John MacFarlane
2024-04-22 16:18:13 -07:00
parent 6d38ee74f1
commit f54bbcd363
+2 -2
View File
@@ -40,7 +40,7 @@ import Safe (lastMay, initSafe, headDef)
import Data.Encoding (decodeLazyByteStringExplicit)
import Data.Encoding.CP932 (CP932)
import Debug.Trace
-- import Debug.Trace
-- TODO:
-- [ ] more complex table features
@@ -959,7 +959,7 @@ processFontTable = snd . foldl' go (0, mempty)
ansiWords :: Maybe Int -> [Word8] -> [Char]
ansiWords mbCodePage ws =
case traceShowId mbCodePage of
case mbCodePage of
Just 932 -> case decodeLazyByteStringExplicit (undefined :: CP932)
(BL.pack ws) of
Left _ -> "\xFFFD"