From 95421224cbde6b664e11748c6c24c5a11074498e 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 b311fac3..baf3ded8 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