[PATCH] Choose syntax
Leonard den Ottolander
leonard at den.ottolander.nl
Mon Jul 11 22:25:14 UTC 2005
Hi,
- Fixed a segfault that was caused by the names list not being filled or
NULLed in case option_syntax_highlight is off and edit_syntax_dialog()
is invoked. I currently test for names being non NULL to proceed with
edit_load_syntax() instead of aborting early.
- Now testing option_auto_syntax to set type to NULL in
edit_load_syntax(). This simplifies the calls to that function (look
mom, no brackets ;-) ).
- Don't use underscores for #define's.
- Blatantly ignoring any suggestion to use NULL, TRUE or FALSE.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MC_4_6_1_PRE.syntax.patch
Type: text/x-patch
Size: 8870 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050712/23662862/attachment.bin>
More information about the mc-devel
mailing list