Skip to content

Commit

Permalink
Merge pull request #62, #63 'hedone21/master'
Browse files Browse the repository at this point in the history
Modify "ibus-hangul" to GETTEXT_PACKAGE
Initialized local variable as NULL

#62
#63
  • Loading branch information
choehwanjin committed Jul 13, 2018
2 parents 8fa5631 + 6b6d41d commit 79280e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ h_ibus_text_get_substring (IBusText* ibus_text, glong p1, glong p2)
static HanjaList*
ibus_hangul_engine_lookup_hanja_table (const char* key, int method)
{
HanjaList* list;
HanjaList* list = NULL;

if (key == NULL)
return NULL;
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ main (gint argc, gchar **argv)

context = g_option_context_new ("- ibus hangul engine component");

g_option_context_add_main_entries (context, entries, "ibus-hangul");
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);

if (!g_option_context_parse (context, &argc, &argv, &error)) {
g_print ("Option parsing failed: %s\n", error->message);
Expand Down

0 comments on commit 79280e8

Please sign in to comment.