On Wednesday October 10 2007 18:03, Nigel Liang wrote: > On 10/9/07, L. Rahyen <research@xxxxxxxxxx> wrote: > > On Tuesday October 9 2007 18:34, Nigel Liang wrote: > > > Does the attached patch to increase the range for LogPixel slider in > > > winecfg seem like it would be helpful? Or is anyone out there running > > > at resolutions higher than 255 DPI? :) > > > > Thanks for looking into this problem. > > Your patch allows to set more than 120 up to 255 DPI and this is > > great but there is a problem. If I set 128 or more then when I open > > winecfg again it doesn't show my current DPI setting; it shows 63 > > instead. However real DPI setting is much higher (for example, 149 DPI - > > that's my normal DPI size for both WINE and Windows in VMWare). Maybe a > > problem with unsigned to signed conversion somewhere?... This needs to be > > fixed before actually submitting your patch to wine-patches mailing list. > > Ah~ This is because the get_reg_key function does W->A conversion on > everything it outputs. Could you try this patch that calls > get_reg_keyW instead and see if this solves your problem? > > -Nigel With new patch everything works as expected! Thanks for fixing this. Please send it to wine-patches. _______________________________________________ wine-users mailing list wine-users@xxxxxxxxxx http://www.winehq.org/mailman/listinfo/wine-users