Diffstat (limited to 'noncore/styles/liquid/embeddata.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/styles/liquid/embeddata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/styles/liquid/embeddata.h b/noncore/styles/liquid/embeddata.h index e4ccc27..5207fb1 100644 --- a/noncore/styles/liquid/embeddata.h +++ b/noncore/styles/liquid/embeddata.h | |||
@@ -970,13 +970,13 @@ static struct EmbedImage { | |||
970 | static int cmpEmbedImage(const void *a, const void *b) | 970 | static int cmpEmbedImage(const void *a, const void *b) |
971 | { | 971 | { |
972 | const EmbedImage* ea = (const EmbedImage*)a; | 972 | const EmbedImage* ea = (const EmbedImage*)a; |
973 | const EmbedImage* eb = (const EmbedImage*)b; | 973 | const EmbedImage* eb = (const EmbedImage*)b; |
974 | return strcmp(ea->name,eb->name); | 974 | return strcmp(ea->name,eb->name); |
975 | } | 975 | } |
976 | inline const QImage& qembed_findImage(const char* name) | 976 | static const QImage& qembed_findImage(const char* name) |
977 | { | 977 | { |
978 | EmbedImage key; key.name = name; | 978 | EmbedImage key; key.name = name; |
979 | EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, | 979 | EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, |
980 | sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage ); | 980 | sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage ); |
981 | QImage* img; | 981 | QImage* img; |
982 | if ( r ) { | 982 | if ( r ) { |