Fix pointer alignment & 4 if statement alignments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4181 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
51dc7f08b4
commit
6d5844ae69
14
src/build.c
14
src/build.c
@ -396,8 +396,11 @@ static GeanyBuildCommand *get_build_group(GeanyBuildSource src, GeanyBuildGroup
|
||||
switch(grp)
|
||||
{
|
||||
case GEANY_GBG_FT:
|
||||
if ((doc=document_get_current())==NULL)return NULL;
|
||||
if ((ft=doc->file_type)==NULL)return NULL;
|
||||
if ((doc=document_get_current())==NULL)
|
||||
return NULL;
|
||||
if ((ft=doc->file_type)==NULL)
|
||||
return NULL;
|
||||
|
||||
switch(src)
|
||||
{
|
||||
case GEANY_BCS_DEF: return ft->ftdefcmds;
|
||||
@ -418,8 +421,11 @@ static GeanyBuildCommand *get_build_group(GeanyBuildSource src, GeanyBuildGroup
|
||||
}
|
||||
break;
|
||||
case GEANY_GBG_EXEC:
|
||||
if ((doc=document_get_current())==NULL)return NULL;
|
||||
if ((ft=doc->file_type)==NULL)return NULL;
|
||||
if ((doc=document_get_current())==NULL)
|
||||
return NULL;
|
||||
if ((ft=doc->file_type)==NULL)
|
||||
return NULL;
|
||||
|
||||
switch(src)
|
||||
{
|
||||
case GEANY_BCS_DEF: return exec_def;
|
||||
|
||||
@ -1077,7 +1077,7 @@ void sci_set_line_indentation(ScintillaObject *sci, gint line, gint indent)
|
||||
SSM(sci, SCI_SETLINEINDENTATION, line, indent);
|
||||
}
|
||||
|
||||
int sci_get_line_indentation(ScintillaObject *sci, gint line)
|
||||
gint sci_get_line_indentation(ScintillaObject *sci, gint line)
|
||||
{
|
||||
return SSM(sci, SCI_GETLINEINDENTATION, line, 0);
|
||||
}
|
||||
|
||||
@ -161,7 +161,7 @@ void sci_indicator_clear (ScintillaObject * sci, gint pos, gint len);
|
||||
void sci_select_all (ScintillaObject *sci);
|
||||
gint sci_get_line_indent_position(ScintillaObject *sci, gint line);
|
||||
void sci_set_line_indentation (ScintillaObject *sci, gint line, gint indent);
|
||||
int sci_get_line_indentation (ScintillaObject * sci, gint line);
|
||||
gint sci_get_line_indentation (ScintillaObject *sci, gint line);
|
||||
void sci_set_autoc_max_height (ScintillaObject *sci, gint val);
|
||||
gint sci_find_matching_brace (ScintillaObject *sci, gint pos);
|
||||
|
||||
@ -181,6 +181,6 @@ gint sci_get_position_after (ScintillaObject *sci, gint start);
|
||||
|
||||
void sci_lines_split (ScintillaObject *sci, gint pixelWidth);
|
||||
void sci_lines_join (ScintillaObject *sci);
|
||||
gint sci_text_width (ScintillaObject *sci, int styleNumber, const char * text);
|
||||
gint sci_text_width (ScintillaObject *sci, gint styleNumber, const gchar *text);
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user