[PATCH] Choose syntax
Leonard den Ottolander
leonard at den.ottolander.nl
Tue Jul 12 12:33:59 UTC 2005
Hi Roland,
On Mon, 2005-07-11 at 08:33, Roland Illig wrote:
> #include "../src/global.h"
> (see HEAD/maint/headers.txt)
If you can explain me why I need this seemingly redundant #include I
might be convinced ;) . Please also put your reasonings down in
headers.txt.
Some improvements:
- g_free() the items of names before return.
- Use NULL in calls to edit_load_syntax()
- Use strcmp == or != to compare strings
- Redefined edit_load_syntax() and exec_edit_syntax_dialog() to accept
names as a char*[MAX_SYNTAX_FILES + 1] instead of a char**.
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: 9789 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050712/c7ba807b/attachment.bin>
More information about the mc-devel
mailing list