From f31155bf3ebadac7c4124009e8b571c1778f3692 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 23 Apr 2014 16:27:22 +0800 Subject: format code --- src/PYLibPinyin.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PYLibPinyin.cc') diff --git a/src/PYLibPinyin.cc b/src/PYLibPinyin.cc index eb88e16..99b11bd 100644 --- a/src/PYLibPinyin.cc +++ b/src/PYLibPinyin.cc @@ -35,7 +35,7 @@ static LibPinyinBackEnd libpinyin_backend; LibPinyinBackEnd::LibPinyinBackEnd () { m_timeout_id = 0; - m_timer = g_timer_new(); + m_timer = g_timer_new (); m_pinyin_context = NULL; m_chewing_context = NULL; } @@ -64,7 +64,7 @@ LibPinyinBackEnd::initPinyinContext (Config *config) "ibus", "libpinyin", NULL); int retval = g_mkdir_with_parents (userdir, 0700); if (retval) { - g_free(userdir); userdir = NULL; + g_free (userdir); userdir = NULL; } context = pinyin_init (LIBPINYIN_DATADIR, userdir); g_free (userdir); -- cgit