From 58c04c7b2f0e537f6ea1dfe0317319f4d5cebb7c Mon Sep 17 00:00:00 2001 From: Monsta Date: Fri, 21 Aug 2015 22:54:27 +0300 Subject: dictionary: don't require --match option for --no-window to work as stated in manpage, --no-window works in conjunction with --look-up option. due to a logic error, the app also required --match option (which does nothing in this case) to be specified. this is now fixed. --- mate-dictionary/src/gdict-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mate-dictionary/src/gdict-app.c b/mate-dictionary/src/gdict-app.c index 6e9b3e8f..78fc0912 100644 --- a/mate-dictionary/src/gdict-app.c +++ b/mate-dictionary/src/gdict-app.c @@ -252,7 +252,7 @@ gdict_look_up_word_and_quit (GdictApp *app) GdictContext *context; GSList *l; - if ((!app->lookup_words) || (!app->match_words)) + if (!app->lookup_words) { g_print (_("See mate-dictionary --help for usage\n")); -- cgit v1.2.1