From c3a39b80316afe1e870773d5550af66acb601ebf Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 30 Dec 2014 13:37:28 +0800 Subject: fixes a typo --- src/PYSimpTradConverter.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/PYSimpTradConverter.cc b/src/PYSimpTradConverter.cc index f92e452..db20666 100644 --- a/src/PYSimpTradConverter.cc +++ b/src/PYSimpTradConverter.cc @@ -55,6 +55,7 @@ public: void convert (const gchar *in, String &out) { char * converted = opencc_convert_utf8 (m_cc, in, -1); + g_assert (converted != NULL); out = converted; opencc_convert_utf8_free (converted); } -- cgit