Variable used for filenmae length was accidentally set to static

darcs-hash:20060212222313-ac50b-1893f4fbe52a8c72ebc8332b1e575c1b8a2b31d5.gz
This commit is contained in:
axel 2006-02-13 08:23:13 +10:00
parent 370336e7c7
commit 7ebfa380dd

View File

@ -555,7 +555,7 @@ int wildcard_expand( const wchar_t *wc,
/*
The maximum length of a file element
*/
static size_t ln=MAX_FILE_LENGTH;
size_t ln=MAX_FILE_LENGTH;
char * narrow_dir_string = wcs2str( dir_string );
if( narrow_dir_string )