Revision: 3031 http://geany.svn.sourceforge.net/geany/?rev=3031&view=rev Author: ntrel Date: 2008-10-01 17:26:15 +0000 (Wed, 01 Oct 2008)
Log Message: ----------- Remove unused argument ft_id from styleset_common().
Modified Paths: -------------- trunk/ChangeLog trunk/src/highlighting.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-10-01 17:17:33 UTC (rev 3030) +++ trunk/ChangeLog 2008-10-01 17:26:15 UTC (rev 3031) @@ -5,6 +5,8 @@ Add 'make hacking-doc' target to generate hacking.html. * src/highlighting.c: Fix using common styleset for filetype None. + * src/highlighting.c: + Remove unused argument ft_id from styleset_common().
2008-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/highlighting.c =================================================================== --- trunk/src/highlighting.c 2008-10-01 17:17:33 UTC (rev 3030) +++ trunk/src/highlighting.c 2008-10-01 17:26:15 UTC (rev 3031) @@ -433,7 +433,7 @@ }
-static void styleset_common(ScintillaObject *sci, filetype_id ft_id) +static void styleset_common(ScintillaObject *sci) { SSM(sci, SCI_STYLECLEARALL, 0, 0);
@@ -621,7 +621,7 @@
SSM(sci, SCI_AUTOCSETMAXHEIGHT, editor_prefs.symbolcompletion_max_height, 0);
- styleset_common(sci, ft_id); + styleset_common(sci); }
@@ -1908,11 +1908,9 @@
static void styleset_none(ScintillaObject *sci) { - const filetype_id ft_id = GEANY_FILETYPES_NONE; - SSM(sci, SCI_SETLEXER, SCLEX_NULL, 0);
- styleset_common(sci, ft_id); + styleset_common(sci);
set_sci_style(sci, STYLE_DEFAULT, GEANY_FILETYPES_NONE, GCS_DEFAULT);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.