diff options
author | Monsta <[email protected]> | 2015-08-21 22:54:27 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-09-01 13:10:22 +0300 |
commit | 58c04c7b2f0e537f6ea1dfe0317319f4d5cebb7c (patch) | |
tree | 2b5da5e9ffa85280b09d5637c2f780952704533a | |
parent | 1f5048617ccc097a54327fc5b1f5d59f09737722 (diff) | |
download | mate-utils-58c04c7b2f0e537f6ea1dfe0317319f4d5cebb7c.tar.bz2 mate-utils-58c04c7b2f0e537f6ea1dfe0317319f4d5cebb7c.tar.xz |
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.
-rw-r--r-- | mate-dictionary/src/gdict-app.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |