Changeset 1144 for trunk


Ignore:
Timestamp:
04/15/11 06:12:48 (2 years ago)
Author:
reyalP
Message:

g12 script menu bug "fix" from philmoz in http://chdk.setepontos.com/index.php?topic=650.msg64898#msg64898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/generic/wrappers.c

    r1126 r1144  
    371371#else 
    372372// for DRYOS cameras  A650, A720  do something with this!  - sizeof(de[]) must be >= sizeof(struct dirent): 'static char de[40];' 
    373   static char de[40]; 
     373  static char de[40] = "";      // (philmoz 15/4/2011) Must initialize this variable or GCC 4.4.0 will generate bad code and the File Browser will crash. 
     374                            // (reyalp) - whaaaaaaaaaa ? 
    374375  _ReadFastDir(d, &de); 
    375376  return de[0]? &de : (void*)0; 
Note: See TracChangeset for help on using the changeset viewer.