Re: [PATCH] winecfg: Add trackbar to set screen resolution in graphics tab (try 2)

2007-07-30 Thread Nigel Liang
On 7/30/07, Alexandre Julliard <[EMAIL PROTECTED]> wrote: > Nigel Liang <[EMAIL PROTECTED]> writes: > > > +/* Utility functions to convert between WCHAR and long */ > > +long wcstolong(WCHAR * wcs) > > +{ > > +int i; > > +long lRet = 0; > > +BOOL bNeg = FALSE; > > + > > +for (i = 0;

Re: [PATCH] winecfg: Add trackbar to set screen resolution in graphics tab (try 2)

2007-07-30 Thread Alexandre Julliard
Nigel Liang <[EMAIL PROTECTED]> writes: > +/* Utility functions to convert between WCHAR and long */ > +long wcstolong(WCHAR * wcs) > +{ > +int i; > +long lRet = 0; > +BOOL bNeg = FALSE; > + > +for (i = 0; wcs[i] != '\0'; i++) { > +if (i == 0 && wcs[i] == '-') { > +