Fixed selecting multiple files in common file dialog 95-style

Duane Clark dclark at akamail.com
Sun Sep 15 15:01:04 CDT 2002


Josef Meixner wrote:
> Problem:
> 	Selecting multiple files in an OpenDialog resulted in a crash, tested with 
> PVAstrumento.
> 
> Changelog:
> 	dlls/commdlg/filedlg95.c:
> 		- Initializing the return-string shouldn't change the pointer.
> 		- Added "FIXME" for case not handled.
> 		- Directory and the filenames have to be separated by "\0".
> 		- Added check to handle possible signed/unsigned overflow.
> 
> Index: dlls/commdlg/filedlg95.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/commdlg/filedlg95.c,v
> retrieving revision 1.80
> diff -r1.80 filedlg95.c
> 1405c1405
> <      ofn->lpstrFile = '\0';
> ---

Hi Josef, and Juraj too, if you are reading this. Please create a file 
~/.cvsrc and add the entry "diff -u", so that patches will be in unified 
diff format. Thanks.





More information about the wine-devel mailing list