[GRASS-SVN] r68431 - grass/trunk/lib/imagery
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun May 15 03:53:08 PDT 2016
Author: marisn
Date: 2016-05-15 03:53:08 -0700 (Sun, 15 May 2016)
New Revision: 68431
Modified:
grass/trunk/lib/imagery/find.c
Log:
Reindent I_find
Modified: grass/trunk/lib/imagery/find.c
===================================================================
--- grass/trunk/lib/imagery/find.c 2016-05-14 23:30:22 UTC (rev 68430)
+++ grass/trunk/lib/imagery/find.c 2016-05-15 10:53:08 UTC (rev 68431)
@@ -21,7 +21,7 @@
int I_find_group(const char *group)
{
if (group == NULL || *group == 0)
- return 0;
+ return 0;
return G_find_file2("group", group, G_mapset()) != NULL;
}
@@ -29,9 +29,9 @@
int I_find_group_file(const char *group, const char *file)
{
if (!I_find_group(group))
- return 0;
+ return 0;
if (file == NULL || *file == 0)
- return 0;
+ return 0;
return G_find_file2_misc("group", file, group, G_mapset()) != NULL;
}
@@ -41,9 +41,9 @@
char element[GNAME_MAX];
if (!I_find_group(group))
- return 0;
+ return 0;
if (subgroup == NULL || *subgroup == 0)
- return 0;
+ return 0;
sprintf(element, "subgroup/%s", subgroup);
@@ -51,16 +51,16 @@
}
int I_find_subgroup_file(const char *group, const char *subgroup,
- const char *file)
+ const char *file)
{
char element[GNAME_MAX * 2];
if (!I_find_group(group))
- return 0;
+ return 0;
if (subgroup == NULL || *subgroup == 0)
- return 0;
+ return 0;
if (file == NULL || *file == 0)
- return 0;
+ return 0;
sprintf(element, "subgroup/%s/%s", subgroup, file);
More information about the grass-commit
mailing list