-rw-r--r-- | library/inlinepics_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/inlinepics_p.h b/library/inlinepics_p.h index 52d184b..892c321 100644 --- a/library/inlinepics_p.h +++ b/library/inlinepics_p.h | |||
@@ -5571,17 +5571,17 @@ static struct EmbedImage { | |||
5571 | }; | 5571 | }; |
5572 | 5572 | ||
5573 | static int cmpEmbedImage(const void *a, const void *b) | 5573 | static int cmpEmbedImage(const void *a, const void *b) |
5574 | { | 5574 | { |
5575 | const EmbedImage* ea = (const EmbedImage*)a; | 5575 | const EmbedImage* ea = (const EmbedImage*)a; |
5576 | const EmbedImage* eb = (const EmbedImage*)b; | 5576 | const EmbedImage* eb = (const EmbedImage*)b; |
5577 | return strcmp(ea->name,eb->name); | 5577 | return strcmp(ea->name,eb->name); |
5578 | } | 5578 | } |
5579 | inline const QImage& qembed_findImage(const char* name) | 5579 | inline static const QImage& qembed_findImage(const char* name) |
5580 | { | 5580 | { |
5581 | EmbedImage key; key.name = name; | 5581 | EmbedImage key; key.name = name; |
5582 | EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, | 5582 | EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, |
5583 | sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage ); | 5583 | sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage ); |
5584 | QImage* img; | 5584 | QImage* img; |
5585 | if ( r ) { | 5585 | if ( r ) { |
5586 | img = new QImage((uchar*)r->data, | 5586 | img = new QImage((uchar*)r->data, |
5587 | r->width, | 5587 | r->width, |