diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-12 01:26:06 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-12 02:38:40 +0200 |
commit | 627c296057a91e73d3cd1631caa1e61ad4f2d124 (patch) | |
tree | bd9122d627103d9cda140964396791d82f079e86 /src/stardict.c | |
parent | 13a16d1eb5b34e23aed4b17720bfbdbe85b5b5ca (diff) | |
download | tdv-627c296057a91e73d3cd1631caa1e61ad4f2d124.tar.gz tdv-627c296057a91e73d3cd1631caa1e61ad4f2d124.tar.xz tdv-627c296057a91e73d3cd1631caa1e61ad4f2d124.zip |
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.
Diffstat (limited to 'src/stardict.c')
-rw-r--r-- | src/stardict.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |