Donate Share January 2006: Project of the Month

Nullsoft Scriptable Install System

Tracker: Bugs

5 '&' does not appear in branding text - ID: 2801294
Last Update: Comment added ( nobody )

Using an '&' in the branding text results in an underscore. So "C & A"
would look like "C _A". Instead you currently need to write "C && A" to get
the correct "C & A". Please set the correct flags in the DrawText Win API
call.


Christian-W. Budde ( cwbudde ) - 2009-06-04 18:27

5

Open

None

Joost Verburg

Modern UI

2.0 Series

Public


Comments ( 5 )




Date: 2009-06-08 19:00
Sender: nobody

I feared that this particular issue would come up. Currently I have 76
scripts that would need adjustments as well. I was even thinking of not to
report this bug. However, I think it is desirable to have this problem
fixed in the long term.

Until then I would suggest a manual workaround solution like if a branding
text contains "& " it is likely that the intended behaviour is have the
"SS_NOPREFIX" style setted, while a "&& " would also result in "& ".

This should be outlined in the changelog and in the far future this may
one day be removed...


Date: 2009-06-08 18:47
Sender: joostverburgProject AdminAccepting Donations

The problem is that it will break compatibility with existing scripts.


Date: 2009-06-08 18:25
Sender: anders_k

Yes, of course it should be the default (Only only option unless you change
the style on your own), I just meant that adding the style is all that's
needed, DrawText() is not involved.


Date: 2009-06-08 10:42
Sender: nobody

Adding SS_NOPREFIX to the style will work as solution, but IMHO it should
be default for this type of text.


Date: 2009-06-08 10:37
Sender: anders_k

Should be enough to just add SS_NOPREFIX to the style
Also, this is a NSIS issue and not just a MUI issue


Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.