Re: signed char

2001-02-01 Thread Uwe Bonnes
Josh DuBois writes: { - char *p = (char*) p_data; + signed char *p = (char*) p_data; ^signed Shouldn't the cast be for the targert variable? Uwe Bonnes[EMAIL PROTECTED] Institut fuer Kernphysik Schlossgartenstrasse 9 64289

Re: WINE_UNICODE_TEXT

2001-02-01 Thread Francois Gouget
On Mon, 29 Jan 2001, Jon Griffiths wrote: Hi, This patch removes the warnings from the WINE_UNICODE_TEXT macro and fixes an obscure (read: uninvestgated) bug where the value of WCHAR('x') + 1 is off by You mean WINE_UNICODE_TEXT('x')+1 != WINE_UNICODE_TEXT('y') ? I see why this

Re: WINE_UNICODE_TEXT

2001-02-01 Thread Jon Griffiths
Hi, Actually I suspect there's another problem with your patch. since you cast the return values to void*, WINE_UNICODE_TEXT("abc")+1 will very likely be wrong. Also I believe void* arithmetic is a gcc extension. I haven't checked, but youre probably right. However Ive never come across

Re: WINE_UNICODE_TEXT

2001-02-01 Thread Jon Griffiths
Hi, type WCHAR* and since sizeof(WCHAR)==2, it just adds two. Sounds likely. A cast back to WCHAR fixes it, anyhow, but isn't especially nice. Which means you get warnings too. I'm not too convinced about this patch especially because it does not return the proper type. On the other

Re: WINE_UNICODE_TEXT

2001-02-01 Thread Francois Gouget
On Thu, 1 Feb 2001, Francois Gouget wrote: On Mon, 29 Jan 2001, Jon Griffiths wrote: Hi, This patch removes the warnings from the WINE_UNICODE_TEXT macro and fixes an obscure (read: uninvestgated) bug where the value of WCHAR('x') + 1 is off by You mean

Re: winebuild ppc

2001-02-01 Thread Ulrich Weigand
Josh DuBois wrote: @@ -3396,7 +3428,7 @@ HANDLE OwningThread; HANDLE LockSemaphore; ULONG_PTR SpinCount; -} RTL_CRITICAL_SECTION, *PRTL_CRITICAL_SECTION; +} __attribute__ ((aligned (4))) RTL_CRITICAL_SECTION, *PRTL_CRITICAL_SECTION; Why? The default alignment of this

Re: psdrv: map Courier New to Courier

2001-02-01 Thread Ian Pilcher
Gavriel State wrote: Just FYI, the corelwine tree has support for psdrv font mapping that you might be able to use - it uses the wine config file rather than the registry to store font aliases, but as I recall it was a pretty minor change in the psdrv code. This may be a stupid question,

Re: psdrv: map Courier New to Courier

2001-02-01 Thread James Abbatiello
Ian Pilcher wrote: Gavriel State wrote: Just FYI, the corelwine tree has support for psdrv font mapping that you might be able to use - it uses the wine config file rather than the registry to store font aliases, but as I recall it was a pretty minor change in the psdrv code. This

Re: psdrv: map Courier New to Courier

2001-02-01 Thread Ian Pilcher
Huw D M Davies wrote: Great! Well the Windows 2000 PS driver stores the font sub table under the value name "TTFontSubTable" in the printer driver's PrinterDriverData registry key. To do this we need to implement Get/SetPrinterData (if you give me a couple of days I'll do it). The data

Re: psdrv: map Courier New to Courier

2001-02-01 Thread Dmitry Timoshkov
Gavriel State [EMAIL PROTECTED] wrote: It's at http://opensource.corel.com It hasn't been updated in quite a while, and the last import from WineHQ was back in December '99, I believe. In addition to the font/printing work, there may still be a few other outstanding fixes that haven't made

Re: psdrv: map Courier New to Courier

2001-02-01 Thread Gavriel State
Ian Pilcher wrote: This may be a stupid question, but where is the Corel Wine tree? It's at http://opensource.corel.com It hasn't been updated in quite a while, and the last import from WineHQ was back in December '99, I believe. In addition to the font/printing work, there may still be a