summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-08-21 22:54:27 +0300
committerinfirit <[email protected]>2015-08-31 21:57:23 +0200
commit95421224cbde6b664e11748c6c24c5a11074498e (patch)
tree15c319c6e87f342041cf9cf8b745e12bc679e3a8
parent5bddbf12def5e9978fba5f7e35172bb32f379c3e (diff)
downloadmate-utils-95421224cbde6b664e11748c6c24c5a11074498e.tar.bz2
mate-utils-95421224cbde6b664e11748c6c24c5a11074498e.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 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"));