[PATCH] windres (ungarbled): (9) encode "\a" as "\b" (Bernd Herd)
Gunnar Degnbol
gunnar@danbbs.dk
Tue Mar 19 15:28:00 GMT 2002
More information about the Binutils mailing list
Tue Mar 19 15:28:00 GMT 2002
- Previous message (by thread): [PATCH] windres (ungarbled): (8) print style even if it is 0
- Next message (by thread): [PATCH] windres (ungarbled): (10) The digits A-F are interpreted as 0-5 (Bernd Herd)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This was posted by Bernd Herd in february as part of a large patch bundling several fixes: http://sources.redhat.com/ml/binutils/2002-02/msg00021.html ChangeLog: 2002-03-19 Bernd Herd <info@herdsoft.com> * rclex.l: "\a" escape (used for right justified key definitions in menus) is encodes as binary 8 escapea.rc: 20 MENU DISCARDABLE BEGIN POPUP "&File" BEGIN MENUITEM "&Open\a^O", 17 END END Before patch: $ rc escapea.rc $ /usr/local/bin/windres -i escapea.res LANGUAGE 9, 1 20 MENU MOVEABLE PURE DISCARDABLE BEGIN POPUP "&File" BEGIN MENUITEM "&Open\b^O", 17 END END $ /bin/windres -i escapea.rc LANGUAGE 0, 0 20 MENU MOVEABLE DISCARDABLE BEGIN POPUP "&File" BEGIN MENUITEM "&Open\a^O", 17 END END After patch: $ /usr/local/bin/windres -i escapea.rc LANGUAGE 9, 1 20 MENU MOVEABLE DISCARDABLE BEGIN POPUP "&File" BEGIN MENUITEM "&Open\b^O", 17 END END escapea.patch: --- binutils/rclex.l Sun Mar 17 14:52:46 2002 +++ binutils.new/rclex.l Sun Mar 17 14:52:59 2002 @@ -331,7 +331,7 @@ break; case 'a': - *s++ = ESCAPE_A; + *s++ = ESCAPE_B; /* Strange, but true... */ ++t; break;
- Previous message (by thread): [PATCH] windres (ungarbled): (8) print style even if it is 0
- Next message (by thread): [PATCH] windres (ungarbled): (10) The digits A-F are interpreted as 0-5 (Bernd Herd)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list