comparison examples/menu/filebrowser.c @ 345:d04085404583

Remove jpg sinc ethe image loader is not ready yet.
author wycc
date Sun, 08 Mar 2009 11:47:14 +0800
parents ab7f3c00fd05
children b391722bf20e
comparison
equal deleted inserted replaced
344:ab7f3c00fd05 345:d04085404583
100 char *s = data->titles[select]; 100 char *s = data->titles[select];
101 char path[1024]; 101 char path[1024];
102 102
103 printf("check %s\n",s); 103 printf("check %s\n",s);
104 104
105 if (endWith(s,".jpg") || endWith(s,".png")) { 105 if (endWith(s,".png")) {
106 snprintf(path,1024,"%s%s", data->curDir,data->titles[select]); 106 snprintf(path,1024,"%s%s", data->curDir,data->titles[select]);
107 mypreview(data,path); 107 mypreview(data,path);
108 } 108 }
109 } 109 }
110 110