summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-08-21 22:54:27 +0300
committermonsta <[email protected]>2015-09-01 13:10:22 +0300
commit58c04c7b2f0e537f6ea1dfe0317319f4d5cebb7c (patch)
tree2b5da5e9ffa85280b09d5637c2f780952704533a
parent1f5048617ccc097a54327fc5b1f5d59f09737722 (diff)
downloadmate-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.c2
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"));