COMDLG32: fix another regresion in 3.1-style file dialog from LB_DIR fix

Alex Villací­s Lasso a_villacis at palosanto.com
Thu Dec 20 10:54:20 CST 2007


This patch fixes another regression caused by the fix to LB_DIR to 
return -1 when no files match the wildcard (validated by tests). The 
Wine 3.1-style file open/save dialogs assumed LB_ERR is a fatal error 
and stop. The patch removes this assumption.

This one should really fix bug #10809. :-)

Changelog:
* LB_DIR can legitimately return -1 when no files match the wildcard, so 
it is not an error. Do not treat it as such.

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-comdlg32-filedlg32-fix-ScanDir-regression.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071220/b4ac801a/attachment.bin 


More information about the wine-patches mailing list