From 627c296057a91e73d3cd1631caa1e61ad4f2d124 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Tue, 12 Oct 2021 01:26:06 +0200 Subject: query-tool: support more field types Add options to format the output for the terminal, or IRC messages. Changed the output format to separate dictionary name with a tab, so it's now rather similar to tabfiles. --- src/stardict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stardict.c') diff --git a/src/stardict.c b/src/stardict.c index d371eb1..8b55f99 100644 --- a/src/stardict.c +++ b/src/stardict.c @@ -1354,7 +1354,7 @@ stardict_iterator_get_entry (StardictIterator *sdi) { g_return_val_if_fail (STARDICT_IS_ITERATOR (sdi), NULL); if (!stardict_iterator_is_valid (sdi)) - return FALSE; + return NULL; return stardict_dict_get_entry (sdi->owner, sdi->offset); } -- cgit v1.2.3-70-g09d2