This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch/windres: Fix handling of hex-notation escape sequences in quoted strings


Danny Smith <dannysmith@clear.net.nz> writes:

> MS rc interprets the string in this control,
> 
> 101 DIALOG DISCARDABLE  0, 0, 186, 95
> BEGIN
>     LTEXT           "\x00ABC",-1,23,46,28,8
> END
> 
>  as  "\x00" "ABC" so the string is effectively empty
> 
> 
> and the *wide* string in this control
> 
> 102 DIALOG DISCARDABLE  0, 0, 186, 95
> BEGIN
>     LTEXT          L"\x00ABC",-1,23,46,28,8
> END
> as the concatenation of  L"\x00AB" L"C"  or  «C
> 
> windres says syntax error  with L

Duh, sorry, I somehow managed to miss the 'L'.

The original patch is OK.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]