X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbctheme.C;h=c587ed250037b185cdc47fe0040f1dc8bbc52dbe;hb=ccd23c15fae578be22d48b1a1e8b09cb43d593ae;hp=b79988c0eaad6f62ed92f0d6f818a9040796a9d2;hpb=3f6a262cfe390b3f8b275297d64565a5b6272969;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bctheme.C b/cinelerra-5.1/guicast/bctheme.C index b79988c0..c587ed25 100644 --- a/cinelerra-5.1/guicast/bctheme.C +++ b/cinelerra-5.1/guicast/bctheme.C @@ -471,7 +471,7 @@ int BC_Theme::images_cmpr(const void *ap, const void *bp) unsigned char* BC_Theme::get_image_data(const char *name, int log_errs) { // Image is the same as the last one - if( last_image_data && !strcasecmp(last_image_data->name, name) ) + if( last_image_data && !strcmp(last_image_data->name, name) ) return last_image_data->data; // look forwards thru data sets for name @@ -484,7 +484,7 @@ unsigned char* BC_Theme::get_image_data(const char *name, int log_errs) while( r-l > 1 ) { m = (l + r) / 2; BC_ImageData *image_data = images[m]; - if( !(v=strcasecmp(name, image_data->name)) ) { + if( !(v=strcmp(name, image_data->name)) ) { image_data->used = 1; last_image_data = image_data; return image_data->data;