diff options
Diffstat (limited to 'src/lookup.c')
-rw-r--r-- | src/lookup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lookup.c b/src/lookup.c index 6ad8d708..af3d760d 100644 --- a/src/lookup.c +++ b/src/lookup.c | |||
@@ -27,6 +27,7 @@ iDefineTypeConstruction(LookupResult) | |||
27 | void init_LookupResult(iLookupResult *d) { | 27 | void init_LookupResult(iLookupResult *d) { |
28 | d->type = none_LookupResultType; | 28 | d->type = none_LookupResultType; |
29 | d->relevance = 0; | 29 | d->relevance = 0; |
30 | d->icon = 0; | ||
30 | init_String(&d->label); | 31 | init_String(&d->label); |
31 | init_String(&d->url); | 32 | init_String(&d->url); |
32 | init_String(&d->meta); | 33 | init_String(&d->meta); |
@@ -43,6 +44,7 @@ iLookupResult *copy_LookupResult(const iLookupResult *d) { | |||
43 | iLookupResult *copy = new_LookupResult(); | 44 | iLookupResult *copy = new_LookupResult(); |
44 | copy->type = d->type; | 45 | copy->type = d->type; |
45 | copy->relevance = d->relevance; | 46 | copy->relevance = d->relevance; |
47 | copy->icon = d->icon; | ||
46 | set_String(©->label, &d->label); | 48 | set_String(©->label, &d->label); |
47 | set_String(©->url, &d->url); | 49 | set_String(©->url, &d->url); |
48 | set_String(©->meta, &d->meta); | 50 | set_String(©->meta, &d->meta); |