projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opengl dot() fix, add file dates, sort file name/time, fix icon image lookup, sync...
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bctheme.C
diff --git
a/cinelerra-5.1/guicast/bctheme.C
b/cinelerra-5.1/guicast/bctheme.C
index b79988c0eaad6f62ed92f0d6f818a9040796a9d2..c587ed250037b185cdc47fe0040f1dc8bbc52dbe 100644
(file)
--- 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
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 && !strc
asec
mp(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
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];
while( r-l > 1 ) {
m = (l + r) / 2;
BC_ImageData *image_data = images[m];
- if( !(v=strc
asec
mp(name, image_data->name)) ) {
+ if( !(v=strcmp(name, image_data->name)) ) {
image_data->used = 1;
last_image_data = image_data;
return image_data->data;
image_data->used = 1;
last_image_data = image_data;
return image_data->data;